|
iSeries Remote Systems v6.0.0 |
||||||||||
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.universalfilesubsys.impl.UniversalFileImpl
com.ibm.etools.systems.as400ifsfilesubsys.impl.IFSFileImpl
Represents a hierarchical file object in any windows or unix like hierarchical file system
Nested Class Summary |
---|
Nested classes inherited from class com.ibm.etools.systems.universalfilesubsys.impl.UniversalFileImpl |
---|
com.ibm.etools.systems.universalfilesubsys.impl.UniversalFileImpl.AttributesListener, com.ibm.etools.systems.universalfilesubsys.impl.UniversalFileImpl.CanWriteListener, com.ibm.etools.systems.universalfilesubsys.impl.UniversalFileImpl.StatusListener |
Field Summary | |
---|---|
protected static String[] |
ALLDRIVES
|
static String |
copyright
|
protected com.ibm.etools.systems.dstore.core.model.DataElement |
DataElementObj
|
Fields inherited from class com.ibm.etools.systems.universalfilesubsys.impl.UniversalFileImpl |
---|
attcanWriteRetrieved, attClassificationRetrieved, comment, compressedSize, compressionMethod, compressionRatio, existsRetrieved, expandedSize, isBeingUpdated, sep |
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 |
Fields inherited from interface com.ibm.etools.systems.universal.miners.IUniversalDataStoreConstants |
---|
BINARY_MODE, BUFFER_SIZE, C_DOWNLOAD_FILE, C_QUERY_QUALIFIED_CLASSNAME, C_QUERY_UNUSED_PORT, C_SYSTEM_ENCODING, Copyright, DOWNLOAD_RESULT_EXCEPTION, DOWNLOAD_RESULT_FILE_NOT_FOUND_EXCEPTION, DOWNLOAD_RESULT_IO_EXCEPTION, DOWNLOAD_RESULT_SUCCESS_MESSAGE, DOWNLOAD_RESULT_SUCCESS_TYPE, DOWNLOAD_RESULT_UNEXPECTED_ERROR, DOWNLOAD_RESULT_UNSUPPORTED_ENCODING_EXCEPTION, FAILED, FAILED_TO_DELETE_DIR, FAILED_WITH_DOES_NOT_EXIST, FAILED_WITH_EXCEPTION, FAILED_WITH_EXIST, FAILED_WITH_SECURITY, KB_IN_BYTES, MESSAGE_DESCRIPTOR, NUM_OF_KB, SUCCESS, TEXT_MODE, TOKEN_SEPARATOR, TYPE_QUALIFIED_CLASSNAME, UNEXPECTED_ERROR, UNIVERSAL_ARCHIVE_FILE_DESCRIPTOR, UNIVERSAL_FILE_DESCRIPTOR, UNIVERSAL_FILESYSTEM_MINER, UNIVERSAL_FILTER_DESCRIPTOR, UNIVERSAL_FOLDER_DESCRIPTOR, UNIVERSAL_NODE_DESCRIPTOR, UNIVERSAL_TEMP_DESCRIPTOR, UNIVERSAL_VIRTUAL_FILE_DESCRIPTOR, UNIVERSAL_VIRTUAL_FOLDER_DESCRIPTOR, VERSION_1 |
Constructor Summary | |
---|---|
IFSFileImpl(com.ibm.etools.systems.subsystems.IRemoteFileContext context,
com.ibm.etools.systems.dstore.core.model.DataElement dataElementObj,
boolean isRoot)
Constructor when using the AS/400 Toolbox for Java directly. |
|
IFSFileImpl(com.ibm.etools.systems.subsystems.IRemoteFileContext context,
com.ibm.etools.systems.dstore.core.model.DataElement dataElementObj,
boolean isRoot,
boolean exists)
Constructor to use when you know the file exists, because you just retrieved it in a list request! More effecient as it saves having to call exists() on the object. |
|
IFSFileImpl(com.ibm.etools.systems.subsystems.IRemoteFileContext context,
com.ibm.etools.systems.dstore.core.model.DataElement dataElementObj,
boolean isRoot,
boolean exists,
boolean isDirectory)
Constructor to use when you know the file exists, because you just retrieved it in a list request, and you even know if it is a directory or not! Most effecient ctor as it saves having to call both exists() and isDirectory() on the object. |
Method Summary | |
---|---|
String |
getRoot()
|
boolean |
isArchive()
overriding this to return false - we don't support archives when interfacing IFS files over toolbox |
boolean |
isRoot()
|
protected boolean |
nameIsRoot(String name)
|
boolean |
showBriefPropertySet()
Querying properties for the property sheet can be expensive on some operating systems. |
Methods inherited from class com.ibm.etools.systems.universalfilesubsys.impl.UniversalFileImpl |
---|
canRead, canWrite, compareTo, dispose, getAdapter, getAttributes, getcanWrite, getClassification, getComment, getCompressedSize, getCompressionMethod, getCompressionRatio, getExpandedSize, getLabel, getLastModified, getLastModifiedDate, getLength, getName, getParent, getParentName, getParentNoRoot, getRootPart, init, internalExists, isBeingUpdated, isDataElementDirectory, isHidden, isStale, markStale, setFile, setIsBeingUpdated, setIsDirectory |
Methods inherited from class com.ibm.etools.systems.subsystems.impl.RemoteFileImpl |
---|
containsFilterKey, copyContentsTo, exists, getAbsolutePath, getAbsolutePathPlusConnection, getAllFilterStrings, getCachedCopy, getCanonicalPath, getContainingArchiveFullName, getContents, getContents, getContext, getExtension, getFile, getFileWrapper, getFilterString, getLineSeparator, getLocalAbsolutePath, getParentRemoteFile, getParentRemoteFileSubSystem, getParentRemoteFileSubSystemFactory, getProperties, getProperty, getSeparator, getSeparatorChar, getSystemConnection, hasContents, hasContents, isAncestorOf, isBinary, isDescendantOf, isDirectory, isExecutable, isFile, isLink, isLocal, isPropertyStale, isText, isUnix, isVirtual, isVirtualFile, isVirtualFolder, markAllPropertiesStale, markPropertyStale, replaceContent, setAbsolutePath, setCanRead, setCanWrite, setClassification, setContainingArchiveFullName, setContents, setExists, setFilterString, setIsContainer, setIsHidden, setIsLocal, setLabel, setLastModified, setLength, setLocalAbsolutePath, setName, setNameOnly, setParentRemoteFile, setProperties, setProperty, setVirtualFile, setVirtualFolder, showReadOnlyProperty, toString |
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 |
---|
exists, getAbsolutePath, getAbsolutePathPlusConnection, getAllFilterStrings, getCanonicalPath, getExtension, getFile, getFileWrapper, getFilterString, getLineSeparator, getParentRemoteFile, getParentRemoteFileSubSystem, getSeparator, getSeparatorChar, getSystemConnection, isAncestorOf, isBinary, isDescendantOf, isDirectory, isExecutable, isFile, isLink, isText, isVirtual, setFilterString, 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 |
Methods inherited from interface com.ibm.etools.systems.subsystems.IRemotePropertyHolder |
---|
getProperties, getProperty, isPropertyStale, markAllPropertiesStale, markPropertyStale, setProperties, setProperty |
Field Detail |
public static final String copyright
protected com.ibm.etools.systems.dstore.core.model.DataElement DataElementObj
protected static final String[] ALLDRIVES
Constructor Detail |
public IFSFileImpl(com.ibm.etools.systems.subsystems.IRemoteFileContext context, com.ibm.etools.systems.dstore.core.model.DataElement dataElementObj, boolean isRoot)
public IFSFileImpl(com.ibm.etools.systems.subsystems.IRemoteFileContext context, com.ibm.etools.systems.dstore.core.model.DataElement dataElementObj, boolean isRoot, boolean exists)
public IFSFileImpl(com.ibm.etools.systems.subsystems.IRemoteFileContext context, com.ibm.etools.systems.dstore.core.model.DataElement dataElementObj, boolean isRoot, boolean exists, boolean isDirectory)
Method Detail |
public boolean showBriefPropertySet()
For IFS files we return true, because it is so very expensive to get these properties.
protected boolean nameIsRoot(String name)
public boolean isRoot()
IRemoteFile.isRoot()
public String getRoot()
public boolean isArchive()
|
iSeries Remote Systems v6.0.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |