站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc 4.1.0

VersioningFileSystem (NetBeans VCS API) - NetBeans API Javadoc 4.1.0

 

org.netbeans.modules.vcscore.versioning
Class VersioningFileSystem

java.lang.Object
  extended byorg.netbeans.modules.vcscore.versioning.VersioningFileSystem

public abstract class VersioningFileSystem
extends Object

Adds support for versioned input streams to VcsFileSystems.

Subclasses note: this object stores it's setting directly into peer filesystem. Properties must be explicitly loaded/stored using special purpose load/store methods.


Nested Class Summary
static interface VersioningFileSystem.Versions
           
 
Constructor Summary
VersioningFileSystem(AbstractFileSystem underlyingFs)
           
 
Method Summary
protected  void addNotify()
          Callback called on adding to VersioningRepository.
 void addPropertyChangeListener(PropertyChangeListener listener)
           
static VersioningFileSystem findFor(FileSystem fileSystem)
          Finds existing versioning support for file system or null.
protected  FileObject findResource(String name)
           
protected  void firePropertyChange(PropertyChangeEvent e)
           
protected  void firePropertyChange(String name, Object oldVal, Object newVal)
           
 SystemAction[] getActions(Set vfoSet)
           
 String getDisplayName()
           
abstract  FilenameFilter getFileFilter()
          The filter of file names that should not be presented in GUI, redefining visibilityquery.
 SystemAction[] getRevisionActions(FileObject fo, Set revisionItems)
           
 FileObject getRoot()
           
 String getSystemName()
          Deprecated. for identity purposes use VersionFileSytem directly.
abstract  VersioningFileSystem.Versions getVersions()
          Support for versioned access to file streams.
protected  Serializable loadProperty(String name, Serializable defaultValue)
           
protected  void refreshExistingFolders()
           
protected  void removeNotify()
          Callback called after removal from VersioningRepository.
 void removePropertyChangeListener(PropertyChangeListener listener)
           
protected  boolean storeProperty(String name, Serializable value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VersioningFileSystem

public VersioningFileSystem(AbstractFileSystem underlyingFs)
Method Detail

findFor

public static VersioningFileSystem findFor(FileSystem fileSystem)
Finds existing versioning support for file system or null.


getVersions

public abstract VersioningFileSystem.Versions getVersions()
Support for versioned access to file streams.


getSystemName

public String getSystemName()
Deprecated. for identity purposes use VersionFileSytem directly.


getRoot

public FileObject getRoot()

addNotify

protected void addNotify()
Callback called on adding to VersioningRepository.


removeNotify

protected void removeNotify()
Callback called after removal from VersioningRepository.


addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener listener)

removePropertyChangeListener

public void removePropertyChangeListener(PropertyChangeListener listener)

storeProperty

protected final boolean storeProperty(String name,
                                      Serializable value)

loadProperty

protected final Serializable loadProperty(String name,
                                          Serializable defaultValue)

firePropertyChange

protected final void firePropertyChange(PropertyChangeEvent e)

firePropertyChange

protected final void firePropertyChange(String name,
                                        Object oldVal,
                                        Object newVal)

getDisplayName

public String getDisplayName()

getActions

public SystemAction[] getActions(Set vfoSet)

getRevisionActions

public SystemAction[] getRevisionActions(FileObject fo,
                                         Set revisionItems)

findResource

protected final FileObject findResource(String name)

refreshExistingFolders

protected void refreshExistingFolders()

getFileFilter

public abstract FilenameFilter getFileFilter()
The filter of file names that should not be presented in GUI, redefining visibilityquery.


 

Built on May 4 2005.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.