com.ibm.etools.iseries.core.comm.bridge
Class ISeriesIFSCacheFile
java.lang.Object
com.ibm.etools.iseries.core.comm.bridge.ISeriesIFSCacheFile
- All Implemented Interfaces:
- com.ibm.etools.systems.subsystems.IRemoteContainer, com.ibm.etools.systems.subsystems.IRemoteFile, com.ibm.etools.systems.subsystems.IRemotePropertyHolder, com.ibm.etools.systems.model.ISystemContainer
- public class ISeriesIFSCacheFile
- extends Object
- implements com.ibm.etools.systems.subsystems.IRemoteFile
A stub class to used by the CODE comm bridge to check if an IFS file is
available from the Remote Systems Temp Project in offline mode.
Fields inherited from interface com.ibm.etools.systems.subsystems.IRemoteFile |
CONNECTION_DELIMITER, ISROOT_NO, ISROOT_YES |
Method Summary |
boolean |
canRead()
|
boolean |
canWrite()
|
int |
compareTo(Object other)
|
void |
copyContentsTo(com.ibm.etools.systems.subsystems.IRemoteContainer container)
|
boolean |
exists()
|
String |
getAbsolutePath()
|
String |
getAbsolutePathPlusConnection()
|
com.ibm.etools.systems.files.RemoteFileFilterString[] |
getAllFilterStrings()
|
String |
getCanonicalPath()
|
String |
getClassification()
|
String |
getComment()
|
long |
getCompressedSize()
|
String |
getCompressionMethod()
|
double |
getCompressionRatio()
|
Object[] |
getContents()
|
Object[] |
getContents(com.ibm.etools.systems.model.ISystemContentsType contentsType)
|
Object[] |
getContents(com.ibm.etools.systems.model.ISystemContentsType contentsType,
String filter)
|
Object[] |
getContents(String arg0)
|
Object[] |
getContents(String arg0,
String arg1)
|
long |
getExpandedSize()
|
String |
getExtension()
|
Object |
getFile()
|
File |
getFileWrapper()
|
com.ibm.etools.systems.files.RemoteFileFilterString |
getFilterString()
|
String |
getLabel()
|
long |
getLastModified()
|
Date |
getLastModifiedDate()
|
long |
getLength()
|
String |
getLineSeparator()
|
String |
getName()
|
String |
getParent()
|
String |
getParentName()
|
String |
getParentNoRoot()
|
com.ibm.etools.systems.subsystems.IRemoteFile |
getParentRemoteFile()
|
com.ibm.etools.systems.subsystems.RemoteFileSubSystem |
getParentRemoteFileSubSystem()
|
Object[] |
getProperties(String[] arg0)
|
Object |
getProperty(String arg0)
|
String |
getRoot()
|
String |
getSeparator()
|
char |
getSeparatorChar()
|
com.ibm.etools.systems.model.SystemConnection |
getSystemConnection()
|
boolean |
hasContents()
|
boolean |
hasContents(com.ibm.etools.systems.model.ISystemContentsType contentsType)
|
boolean |
hasContents(com.ibm.etools.systems.model.ISystemContentsType contentsType,
String filter)
|
boolean |
hasContents(String arg0)
|
boolean |
hasContents(String arg0,
String arg1)
|
boolean |
isAncestorOf(com.ibm.etools.systems.subsystems.IRemoteFile file)
|
boolean |
isArchive()
|
boolean |
isBinary()
|
boolean |
isDescendantOf(com.ibm.etools.systems.subsystems.IRemoteFile file)
|
boolean |
isDirectory()
|
boolean |
isExecutable()
|
boolean |
isFile()
|
boolean |
isHidden()
|
boolean |
isLink()
|
boolean |
isPropertyStale(String arg0)
|
boolean |
isRoot()
|
boolean |
isStale()
|
boolean |
isText()
|
boolean |
isVirtual()
|
void |
markAllPropertiesStale()
|
void |
markPropertyStale(String arg0)
|
void |
markStale(boolean arg0)
|
void |
replaceContent(Object oldObject,
Object newObject)
|
void |
setContents(com.ibm.etools.systems.model.ISystemContentsType contentsType,
String filter,
Object[] con)
|
void |
setContents(String arg0,
String arg1,
Object[] arg2)
|
void |
setFilterString(com.ibm.etools.systems.files.RemoteFileFilterString filterString)
|
void |
setProperties(String[] arg0,
Object[] arg1)
|
void |
setProperty(String arg0,
Object arg1)
|
boolean |
showBriefPropertySet()
|
boolean |
showReadOnlyProperty()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
copyright
public static final String copyright
- See Also:
- Constant Field Values
ISeriesIFSCacheFile
public ISeriesIFSCacheFile(String filename,
ISeriesConnection connection)
- Constructor for ISeriesIFSCacheFile.
isArchive
public boolean isArchive()
- Specified by:
isArchive
in interface com.ibm.etools.systems.subsystems.IRemoteFile
isAncestorOf
public boolean isAncestorOf(com.ibm.etools.systems.subsystems.IRemoteFile file)
- Specified by:
isAncestorOf
in interface com.ibm.etools.systems.subsystems.IRemoteFile
isDescendantOf
public boolean isDescendantOf(com.ibm.etools.systems.subsystems.IRemoteFile file)
- Specified by:
isDescendantOf
in interface com.ibm.etools.systems.subsystems.IRemoteFile
showBriefPropertySet
public boolean showBriefPropertySet()
- Specified by:
showBriefPropertySet
in interface com.ibm.etools.systems.subsystems.IRemoteFile
- See Also:
IRemoteFile.showBriefPropertySet()
getParentRemoteFileSubSystem
public com.ibm.etools.systems.subsystems.RemoteFileSubSystem getParentRemoteFileSubSystem()
- Specified by:
getParentRemoteFileSubSystem
in interface com.ibm.etools.systems.subsystems.IRemoteFile
- See Also:
IRemoteFile.getParentRemoteFileSubSystem()
getSeparatorChar
public char getSeparatorChar()
- Specified by:
getSeparatorChar
in interface com.ibm.etools.systems.subsystems.IRemoteFile
- See Also:
IRemoteFile.getSeparatorChar()
getSeparator
public String getSeparator()
- Specified by:
getSeparator
in interface com.ibm.etools.systems.subsystems.IRemoteFile
- See Also:
IRemoteFile.getSeparator()
getLineSeparator
public String getLineSeparator()
- Specified by:
getLineSeparator
in interface com.ibm.etools.systems.subsystems.IRemoteFile
- See Also:
IRemoteFile.getLineSeparator()
getSystemConnection
public com.ibm.etools.systems.model.SystemConnection getSystemConnection()
- Specified by:
getSystemConnection
in interface com.ibm.etools.systems.subsystems.IRemoteFile
- See Also:
IRemoteFile.getSystemConnection()
getParentRemoteFile
public com.ibm.etools.systems.subsystems.IRemoteFile getParentRemoteFile()
- Specified by:
getParentRemoteFile
in interface com.ibm.etools.systems.subsystems.IRemoteFile
- See Also:
IRemoteFile.getParentRemoteFile()
getFilterString
public com.ibm.etools.systems.files.RemoteFileFilterString getFilterString()
- Specified by:
getFilterString
in interface com.ibm.etools.systems.subsystems.IRemoteFile
- See Also:
IRemoteFile.getFilterString()
getAllFilterStrings
public com.ibm.etools.systems.files.RemoteFileFilterString[] getAllFilterStrings()
- Specified by:
getAllFilterStrings
in interface com.ibm.etools.systems.subsystems.IRemoteFile
- See Also:
IRemoteFile.getAllFilterStrings()
setFilterString
public void setFilterString(com.ibm.etools.systems.files.RemoteFileFilterString filterString)
- Specified by:
setFilterString
in interface com.ibm.etools.systems.subsystems.IRemoteFile
- See Also:
IRemoteFile.setFilterString(RemoteFileFilterString)
getAbsolutePath
public String getAbsolutePath()
- Specified by:
getAbsolutePath
in interface com.ibm.etools.systems.subsystems.IRemoteFile
- See Also:
IRemoteFile.getAbsolutePath()
getAbsolutePathPlusConnection
public String getAbsolutePathPlusConnection()
- Specified by:
getAbsolutePathPlusConnection
in interface com.ibm.etools.systems.subsystems.IRemoteFile
- See Also:
IRemoteFile.getAbsolutePathPlusConnection()
getLabel
public String getLabel()
- Specified by:
getLabel
in interface com.ibm.etools.systems.subsystems.IRemoteFile
- See Also:
IRemoteFile.getLabel()
getName
public String getName()
- Specified by:
getName
in interface com.ibm.etools.systems.subsystems.IRemoteFile
- See Also:
IRemoteFile.getName()
getParent
public String getParent()
- Specified by:
getParent
in interface com.ibm.etools.systems.subsystems.IRemoteFile
- See Also:
IRemoteFile.getParent()
getParentNoRoot
public String getParentNoRoot()
- Specified by:
getParentNoRoot
in interface com.ibm.etools.systems.subsystems.IRemoteFile
- See Also:
IRemoteFile.getParentNoRoot()
getRoot
public String getRoot()
- Specified by:
getRoot
in interface com.ibm.etools.systems.subsystems.IRemoteFile
- See Also:
IRemoteFile.getRoot()
getParentName
public String getParentName()
- Specified by:
getParentName
in interface com.ibm.etools.systems.subsystems.IRemoteFile
- See Also:
IRemoteFile.getParentName()
getExtension
public String getExtension()
- Specified by:
getExtension
in interface com.ibm.etools.systems.subsystems.IRemoteFile
- See Also:
IRemoteFile.getExtension()
isRoot
public boolean isRoot()
- Specified by:
isRoot
in interface com.ibm.etools.systems.subsystems.IRemoteFile
- See Also:
IRemoteFile.isRoot()
isDirectory
public boolean isDirectory()
- Specified by:
isDirectory
in interface com.ibm.etools.systems.subsystems.IRemoteFile
- See Also:
IRemoteFile.isDirectory()
isFile
public boolean isFile()
- Specified by:
isFile
in interface com.ibm.etools.systems.subsystems.IRemoteFile
- See Also:
IRemoteFile.isFile()
isBinary
public boolean isBinary()
- Specified by:
isBinary
in interface com.ibm.etools.systems.subsystems.IRemoteFile
- See Also:
IRemoteFile.isBinary()
isText
public boolean isText()
- Specified by:
isText
in interface com.ibm.etools.systems.subsystems.IRemoteFile
- See Also:
IRemoteFile.isText()
isHidden
public boolean isHidden()
- Specified by:
isHidden
in interface com.ibm.etools.systems.subsystems.IRemoteFile
- See Also:
IRemoteFile.isHidden()
canRead
public boolean canRead()
- Specified by:
canRead
in interface com.ibm.etools.systems.subsystems.IRemoteFile
- See Also:
IRemoteFile.canRead()
canWrite
public boolean canWrite()
- Specified by:
canWrite
in interface com.ibm.etools.systems.subsystems.IRemoteFile
- See Also:
IRemoteFile.canWrite()
exists
public boolean exists()
- Specified by:
exists
in interface com.ibm.etools.systems.subsystems.IRemoteFile
- See Also:
IRemoteFile.exists()
getLastModified
public long getLastModified()
- Specified by:
getLastModified
in interface com.ibm.etools.systems.subsystems.IRemoteFile
- See Also:
IRemoteFile.getLastModified()
getLastModifiedDate
public Date getLastModifiedDate()
- Specified by:
getLastModifiedDate
in interface com.ibm.etools.systems.subsystems.IRemoteFile
- See Also:
IRemoteFile.getLastModifiedDate()
getLength
public long getLength()
- Specified by:
getLength
in interface com.ibm.etools.systems.subsystems.IRemoteFile
- See Also:
IRemoteFile.getLength()
showReadOnlyProperty
public boolean showReadOnlyProperty()
- Specified by:
showReadOnlyProperty
in interface com.ibm.etools.systems.subsystems.IRemoteFile
- See Also:
IRemoteFile.showReadOnlyProperty()
getFileWrapper
public File getFileWrapper()
- Specified by:
getFileWrapper
in interface com.ibm.etools.systems.subsystems.IRemoteFile
- See Also:
IRemoteFile.getFileWrapper()
compareTo
public int compareTo(Object other)
throws ClassCastException
- Specified by:
compareTo
in interface com.ibm.etools.systems.subsystems.IRemoteFile
- Throws:
ClassCastException
- See Also:
IRemoteFile.compareTo(Object)
getFile
public Object getFile()
- Specified by:
getFile
in interface com.ibm.etools.systems.subsystems.IRemoteFile
- See Also:
IRemoteFile.getFile()
isVirtual
public boolean isVirtual()
- Specified by:
isVirtual
in interface com.ibm.etools.systems.subsystems.IRemoteFile
hasContents
public boolean hasContents()
getContents
public Object[] getContents()
getCompressionRatio
public double getCompressionRatio()
- Specified by:
getCompressionRatio
in interface com.ibm.etools.systems.subsystems.IRemoteFile
getComment
public String getComment()
- Specified by:
getComment
in interface com.ibm.etools.systems.subsystems.IRemoteFile
getClassification
public String getClassification()
- Specified by:
getClassification
in interface com.ibm.etools.systems.subsystems.IRemoteFile
isExecutable
public boolean isExecutable()
- Specified by:
isExecutable
in interface com.ibm.etools.systems.subsystems.IRemoteFile
isLink
public boolean isLink()
- Specified by:
isLink
in interface com.ibm.etools.systems.subsystems.IRemoteFile
getCompressionMethod
public String getCompressionMethod()
- Specified by:
getCompressionMethod
in interface com.ibm.etools.systems.subsystems.IRemoteFile
getCompressedSize
public long getCompressedSize()
- Specified by:
getCompressedSize
in interface com.ibm.etools.systems.subsystems.IRemoteFile
getExpandedSize
public long getExpandedSize()
- Specified by:
getExpandedSize
in interface com.ibm.etools.systems.subsystems.IRemoteFile
hasContents
public boolean hasContents(String arg0)
hasContents
public boolean hasContents(String arg0,
String arg1)
getContents
public Object[] getContents(String arg0)
getContents
public Object[] getContents(String arg0,
String arg1)
isStale
public boolean isStale()
- Specified by:
isStale
in interface com.ibm.etools.systems.model.ISystemContainer
markStale
public void markStale(boolean arg0)
- Specified by:
markStale
in interface com.ibm.etools.systems.model.ISystemContainer
setContents
public void setContents(String arg0,
String arg1,
Object[] arg2)
getProperty
public Object getProperty(String arg0)
- Specified by:
getProperty
in interface com.ibm.etools.systems.subsystems.IRemotePropertyHolder
getProperties
public Object[] getProperties(String[] arg0)
- Specified by:
getProperties
in interface com.ibm.etools.systems.subsystems.IRemotePropertyHolder
setProperty
public void setProperty(String arg0,
Object arg1)
- Specified by:
setProperty
in interface com.ibm.etools.systems.subsystems.IRemotePropertyHolder
setProperties
public void setProperties(String[] arg0,
Object[] arg1)
- Specified by:
setProperties
in interface com.ibm.etools.systems.subsystems.IRemotePropertyHolder
isPropertyStale
public boolean isPropertyStale(String arg0)
- Specified by:
isPropertyStale
in interface com.ibm.etools.systems.subsystems.IRemotePropertyHolder
markPropertyStale
public void markPropertyStale(String arg0)
- Specified by:
markPropertyStale
in interface com.ibm.etools.systems.subsystems.IRemotePropertyHolder
markAllPropertiesStale
public void markAllPropertiesStale()
- Specified by:
markAllPropertiesStale
in interface com.ibm.etools.systems.subsystems.IRemotePropertyHolder
replaceContent
public void replaceContent(Object oldObject,
Object newObject)
- Specified by:
replaceContent
in interface com.ibm.etools.systems.subsystems.IRemoteContainer
getCanonicalPath
public String getCanonicalPath()
- Specified by:
getCanonicalPath
in interface com.ibm.etools.systems.subsystems.IRemoteFile
copyContentsTo
public void copyContentsTo(com.ibm.etools.systems.subsystems.IRemoteContainer container)
- Specified by:
copyContentsTo
in interface com.ibm.etools.systems.subsystems.IRemoteContainer
getContents
public Object[] getContents(com.ibm.etools.systems.model.ISystemContentsType contentsType,
String filter)
- Specified by:
getContents
in interface com.ibm.etools.systems.subsystems.IRemoteContainer
getContents
public Object[] getContents(com.ibm.etools.systems.model.ISystemContentsType contentsType)
- Specified by:
getContents
in interface com.ibm.etools.systems.model.ISystemContainer
hasContents
public boolean hasContents(com.ibm.etools.systems.model.ISystemContentsType contentsType,
String filter)
- Specified by:
hasContents
in interface com.ibm.etools.systems.subsystems.IRemoteContainer
hasContents
public boolean hasContents(com.ibm.etools.systems.model.ISystemContentsType contentsType)
- Specified by:
hasContents
in interface com.ibm.etools.systems.model.ISystemContainer
setContents
public void setContents(com.ibm.etools.systems.model.ISystemContentsType contentsType,
String filter,
Object[] con)
- Specified by:
setContents
in interface com.ibm.etools.systems.subsystems.IRemoteContainer
Copyright © 2005 IBM Corp. All Rights Reserved.
Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.