Package org.eclipse.osgi.storagemanager

Examples of org.eclipse.osgi.storagemanager.StorageManager$Entry


  protected void setFileManager(File cacheBase, boolean isCacheReadOnly) {
    if (cacheStorageManager != null)
      cacheStorageManager.close(); // close existing file manager first

    if (cacheBase != null) {
      cacheStorageManager = new StorageManager(cacheBase, isCacheReadOnly ? "none" : null, isCacheReadOnly); //$NON-NLS-1$
      try {
        cacheStorageManager.open(!isCacheReadOnly);
      } catch (IOException e) {
        // Ignore the exception. The registry will be rebuilt from source.
      }
View Full Code Here

TOP

Related Classes of org.eclipse.osgi.storagemanager.StorageManager$Entry

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.