|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.etools.systems.subsystems.impl.RemoteFileImpl
com.ibm.etools.systems.localfilesubsys.impl.LocalFileImpl
com.ibm.etools.systems.localfilesubsys.impl.LocalVirtualFileImpl
Field Summary | |
---|---|
protected VirtualChild |
_child
|
protected File |
_parentArchive
|
Fields inherited from class com.ibm.etools.systems.localfilesubsys.impl.LocalFileImpl |
---|
copyright |
Fields inherited from class com.ibm.etools.systems.subsystems.impl.RemoteFileImpl |
---|
_isStale, BINARY_FALSE, BINARY_TRUE, cacheAbsolutePath, canonicalPath, canRead, canWrite, classification, containingArchiveFullName, contents, context, debugMode, DIRECTORY_FALSE, DIRECTORY_TRUE, exists, fullyQualifiedName, isCached, isContainer, isDirectory, isHidden, isRoot, isVirtualFile, isVirtualFolder, label, lastModified, length, nameOnly, parentFile, pathOnly, properties, propertyStates, remoteObj, ROOT_FALSE, ROOT_TRUE, rootOnly, showReadOnly |
Fields inherited from interface com.ibm.etools.systems.subsystems.IRemoteFile |
---|
CONNECTION_DELIMITER, ISROOT_NO, ISROOT_YES |
Constructor Summary | |
---|---|
LocalVirtualFileImpl(IRemoteFileContext context,
VirtualChild child)
|
Method Summary | |
---|---|
boolean |
canRead()
Returns true if the application can read this file. |
boolean |
canWrite()
Returns true if the application can write to this file. |
int |
compareTo(Object other)
Compare one remote file to another. |
boolean |
exists()
Returns true if this folder or file actually exists. |
String |
getComment()
|
long |
getCompressedSize()
|
String |
getCompressionMethod()
|
double |
getCompressionRatio()
|
Object |
getFile()
Get the object. |
Object |
getFile(String srcEncoding,
boolean isText)
|
File |
getFileWrapper()
Return an object extending java.io.File and proxing this file. |
String |
getLabel()
Get the display name for this file. |
long |
getLastModified()
Returns the time (in milliseconds since epoch) this file was last modified. |
long |
getLength()
Returns the length, in bytes, of this file. |
String |
getName()
Get unqualified file name. |
File |
getParentArchive()
|
VirtualChild |
getVirtualChild()
|
String |
getVirtualFullName()
|
String |
getVirtualFullPath()
|
String |
getVirtualName()
|
boolean |
isDirectory()
Returns true if this represents a folder (eg: c:\\folder) |
boolean |
isVirtual()
Returns true if this is a virtual file. |
void |
setCanRead(boolean can)
Internal method called by the subsystem. |
void |
setCanWrite(boolean can)
Internal method called by the subsystem. |
void |
setVirtualFullName(String string)
|
void |
setVirtualFullPath(String string)
|
void |
setVirtualName(String string)
|
Methods inherited from class com.ibm.etools.systems.localfilesubsys.impl.LocalFileImpl |
---|
clearCacheChecks, getClassification, getExpandedSize, isHidden, setExists, setFile, setIsHidden, setLastModified |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.ibm.etools.systems.subsystems.IRemoteFile |
---|
getAbsolutePath, getAbsolutePathPlusConnection, getAllFilterStrings, getCanonicalPath, getExtension, getFilterString, getLastModifiedDate, getLineSeparator, getParent, getParentName, getParentNoRoot, getParentRemoteFile, getParentRemoteFileSubSystem, getRoot, getSeparator, getSeparatorChar, getSystemConnection, isAncestorOf, isArchive, isBinary, isDescendantOf, isExecutable, isFile, isLink, isRoot, isText, setFilterString, showBriefPropertySet, showReadOnlyProperty |
Methods inherited from interface com.ibm.etools.systems.subsystems.IRemoteContainer |
---|
copyContentsTo, getContents, hasContents, replaceContent, setContents |
Methods inherited from interface com.ibm.etools.systems.model.ISystemContainer |
---|
getContents, hasContents, isStale, markStale |
Methods inherited from interface com.ibm.etools.systems.subsystems.IRemotePropertyHolder |
---|
getProperties, getProperty, isPropertyStale, markAllPropertiesStale, markPropertyStale, setProperties, setProperty |
Field Detail |
protected File _parentArchive
protected VirtualChild _child
Constructor Detail |
public LocalVirtualFileImpl(IRemoteFileContext context, VirtualChild child)
Method Detail |
public int compareTo(Object other) throws ClassCastException
IRemoteFile
compareTo
in interface IRemoteFile
compareTo
in class RemoteFileImpl
ClassCastException
public long getLastModified()
IRemoteFile
getLastModified
in interface IRemoteFile
getLastModified
in class LocalFileImpl
IRemoteFile.getLastModified()
public long getLength()
IRemoteFile
getLength
in interface IRemoteFile
getLength
in class LocalFileImpl
public Object getFile()
IRemoteFile
getFile
in interface IRemoteFile
getFile
in class RemoteFileImpl
public File getParentArchive()
public String getName()
IRemoteFile
getName
in interface IRemoteFile
getName
in class RemoteFileImpl
IRemoteFile.getName()
public VirtualChild getVirtualChild()
public boolean isVirtual()
IRemoteFile
isVirtual
in interface IRemoteFile
isVirtual
in class RemoteFileImpl
public boolean exists()
IRemoteFile
exists
in interface IRemoteFile
exists
in class LocalFileImpl
public String getVirtualFullName()
public String getVirtualFullPath()
public String getVirtualName()
public void setVirtualFullName(String string)
public void setVirtualFullPath(String string)
public void setVirtualName(String string)
public String getLabel()
IRemoteFile
getLabel
in interface IRemoteFile
getLabel
in class RemoteFileImpl
IRemoteFile.getLabel()
public boolean isDirectory()
IRemoteFile
isDirectory
in interface IRemoteFile
isDirectory
in class RemoteFileImpl
IRemoteFile.isDirectory()
public File getFileWrapper()
IRemoteFile
getFileWrapper
in interface IRemoteFile
getFileWrapper
in class LocalFileImpl
public boolean canRead()
IRemoteFile
canRead
in interface IRemoteFile
canRead
in class LocalFileImpl
public boolean canWrite()
IRemoteFile
canWrite
in interface IRemoteFile
canWrite
in class LocalFileImpl
public void setCanRead(boolean can)
RemoteFileImpl
setCanRead
in interface IRemoteFileMutable
setCanRead
in class RemoteFileImpl
RemoteFileImpl.setLastModified(long)
,
RemoteFileImpl.setExists(boolean)
,
RemoteFileImpl.setAbsolutePath(String, String, boolean, boolean)
,
RemoteFileImpl.setCanWrite(boolean)
,
RemoteFileImpl.setIsHidden(boolean)
public void setCanWrite(boolean can)
RemoteFileImpl
setCanWrite
in interface IRemoteFileMutable
setCanWrite
in class RemoteFileImpl
RemoteFileImpl.setLastModified(long)
,
RemoteFileImpl.setExists(boolean)
,
RemoteFileImpl.setAbsolutePath(String, String, boolean, boolean)
,
RemoteFileImpl.setCanRead(boolean)
,
RemoteFileImpl.setIsHidden(boolean)
public String getComment()
getComment
in interface IRemoteFile
getComment
in class LocalFileImpl
public long getCompressedSize()
getCompressedSize
in interface IRemoteFile
getCompressedSize
in class RemoteFileImpl
public String getCompressionMethod()
getCompressionMethod
in interface IRemoteFile
getCompressionMethod
in class RemoteFileImpl
public double getCompressionRatio()
getCompressionRatio
in interface IRemoteFile
getCompressionRatio
in class RemoteFileImpl
public Object getFile(String srcEncoding, boolean isText)
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |