|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectEObjectImpl
com.ibm.etools.systems.subsystems.impl.SubSystemImpl
com.ibm.etools.systems.subsystems.impl.RemoteFileSubSystemImpl
com.ibm.etools.systems.universalfilesubsys.impl.UniversalFileSubSystemImpl
Nested Class Summary |
---|
Nested classes inherited from class com.ibm.etools.systems.subsystems.impl.SubSystemImpl |
---|
SubSystemImpl.ConnectRunnable, SubSystemImpl.DisplayErrorMessageRunnable |
Field Summary | |
---|---|
protected DataElement |
_downloadDescriptor
|
protected int |
_fsMinerMajor
|
protected int |
_fsMinerMinor
|
protected int |
_fsMinerVersion
|
protected DataElement |
_minerElement
|
protected DataElement |
_queryAllDescriptor
|
protected DataElement |
_queryFilesDescriptor
|
protected DataElement |
_queryFoldersDescriptor
|
protected DataElement |
_queryRemoteObjectDescriptor
|
protected DataElement |
_uploadLogElement
|
static String |
copyright
|
protected boolean |
showHidden
|
Fields inherited from class com.ibm.etools.systems.subsystems.impl.RemoteFileSubSystemImpl |
---|
_cachedRemoteFiles, _searchHistory, currFilterString, DEFAULT_CONTEXT, DEFAULT_CONTEXT_NOFILTERSTRING, FILTERSTRING_LISTROOTS, HOME_FOLDER_EDEFAULT, homeFolder, osCmdShell, osName, osVarsSet, osWindows, osWindows95, osWindowsNT |
Fields inherited from interface com.ibm.etools.systems.subsystems.IFileConstants |
---|
LINE_SEPARATOR_BYTE_ARRAY_UNIX, LINE_SEPARATOR_BYTE_ARRAY_WINDOWS, PATH_SEPARATOR_CHAR_UNIX, PATH_SEPARATOR_CHAR_WINDOWS, PATH_SEPARATOR_UNIX, PATH_SEPARATOR_WINDOWS, SEPARATOR_CHAR_UNIX, SEPARATOR_CHAR_WINDOWS, SEPARATOR_UNIX, SEPARATOR_WINDOWS |
Fields inherited from interface com.ibm.etools.systems.core.ISystemTypes |
---|
SYSTEMTYPE_AIX, SYSTEMTYPE_ISERIES, SYSTEMTYPE_LINUX, SYSTEMTYPE_LOCAL, SYSTEMTYPE_PASE, SYSTEMTYPE_POWER_LINUX, SYSTEMTYPE_UNIX, SYSTEMTYPE_WINDOWS, SYSTEMTYPE_ZSERIES, SYSTEMTYPE_ZSERIES_LINUX |
Fields inherited from interface com.ibm.etools.systems.subsystems.IRemoteObjectResolver |
---|
Copyright |
Fields inherited from interface com.ibm.etools.systems.universal.IUniversalSubSystem |
---|
Copyright |
Constructor Summary | |
---|---|
UniversalFileSubSystemImpl()
Constructor. |
Method Summary | |
---|---|
void |
cancelSearch(IRemoteSearchResultConfiguration searchConfig)
Given a search configuration, cancel the search. |
protected void |
checkForNetworkErrors()
Check if any network errors have occured. |
protected IRemoteFile[] |
convertObjsToRemoteFiles(IRemoteFileContext context,
String folderFilter,
String fileFilter,
Object[] objs,
boolean isRoot,
boolean exists)
Helper method to convert DataElement objects to IRemoteFile objects when we know if it exists or not, but not whether it is a directory or not. |
protected IRemoteFile[] |
convertObjsToRemoteFiles(IRemoteFileContext context,
String folderFilter,
String fileFilter,
Object[] objs,
boolean isRoot,
boolean exists,
boolean isDir)
Helper method to convert DataElement objects to IRemoteFile objects when we know if it exists or not, and whether it is a directory or not. |
protected IRemoteFile |
convertObjToRemoteFile(IRemoteFileContext context,
Object obj)
Helper method to convert single DataElement object to IRemoteFile object |
protected IRemoteFile |
convertObjToRemoteFile(IRemoteFileContext context,
Object obj,
boolean exists)
Helper method to convert single DataElement object to IRemoteFile object |
void |
copy(InputStream stream,
long totalBytes,
IRemoteFile destination,
String encoding,
IProgressMonitor monitor)
Put local data to a remote location. |
boolean |
copy(IRemoteFile sourceFolderOrFile,
IRemoteFile targetFolder,
String newName,
IProgressMonitor monitor)
Copy a file or folder to a new target parent folder. |
void |
copy(IRemoteFile source,
String destination,
String encoding,
IProgressMonitor monitor)
Get the remote file and save it locally. |
void |
copy(String source,
IRemoteFile destination,
String encoding,
IProgressMonitor monitor)
Put the local copy of the remote file back to the remote location. |
void |
copyLocalToRemote(InputStream stream,
long totalBytes,
String srcEncoding,
String remotePath,
String rmtEncoding,
IProgressMonitor monitor)
Uploads local data to a remote file. |
void |
copyLocalToRemote(String source,
String destination,
IProgressMonitor monitor)
Put the local copy of the remote file back to the remote location. |
void |
copyLocalToRemote(String source,
String srcEncoding,
String remotePath,
String rmtEncoding,
IProgressMonitor monitor)
Put the local copy of the remote file back to the remote location. |
IRemoteFile |
createFile(IRemoteFile fileToCreate)
Create a new file, given its IRemoteFile object (these do not have to represent existing files). |
IRemoteFile |
createFolder(IRemoteFile folderToCreate)
Create a new folder, given its IRemoteFile object (these do not have to represent existing folders) The parent folder must exist for this to succeed. |
IRemoteFile |
createFolders(IRemoteFile folderToCreate)
Given an IRemoteFile for a folder, this will create that folder and any missing parent folders in its path. |
boolean |
delete(IRemoteFile folderOrFile)
Delete the given remote file or folder. |
Object |
eGet(EStructuralFeature eFeature,
boolean resolve)
|
NotificationChain |
eInverseAdd(InternalEObject otherEnd,
int featureID,
Class baseClass,
NotificationChain msgs)
|
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
Class baseClass,
NotificationChain msgs)
|
boolean |
eIsSet(EStructuralFeature eFeature)
|
void |
eSet(EStructuralFeature eFeature,
Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(EStructuralFeature eFeature)
|
protected DataElement |
findUploadLog()
|
protected DataElement |
findUploadStatusFor(String remotePath)
|
protected DataStore |
getDataStore()
Helper method to return the DataStore object needed by comm layer. |
protected String |
getDataStoreRoot()
|
int |
getDownloadBufferSize()
|
protected DataElement |
getDownloadDescriptor(DataElement remoteElement)
|
protected DataElement |
getFileSystemMinerElement()
|
protected int |
getFileSystemMinerVersion()
|
ILanguageUtilityFactory |
getLanguageUtilityFactory()
Returns an instance of UniversalLanguageUtilityFactory . |
InetAddress |
getLocalAddress()
Gets an unused port on the remote host, connects to it and asks the socket for the local connection. |
IRemoteFile |
getParentFolder(IRemoteFile folderOrFile)
Given a folder or file, return its parent folder object. |
String |
getQualifiedClassName(IRemoteFile classFile)
|
protected DataElement |
getQueryAllDescriptor(DataElement remoteElement)
|
protected DataElement |
getQueryFilesDescriptor(DataElement remoteElement)
|
protected DataElement |
getQueryFoldersDescriptor(DataElement remoteElement)
|
protected DataElement |
getQueryRemoteObjectDescriptor(DataElement remoteElement)
|
String |
getRemoteEncoding()
Get the encoding of the remote machine |
IRemoteFileFactory |
getRemoteFileFactory()
|
IRemoteFile |
getRemoteFileObject(IRemoteFile parent,
String folderOrFileName)
Given a un-qualified file or folder name, and its parent folder object, return an IRemoteFile object for the file. |
IRemoteFile |
getRemoteFileObject(String folderOrFileName)
Given a fully qualified file or folder name, return an IRemoteFile object for it. |
IRemoteSearchResultConfigurationFactory |
getRemoteSearchResultConfigurationFactory()
Gets the search result configuration factory associated with the subsystem. |
AbstractSystemManager |
getSystemManager()
Return a singleton instance of an AbstractSystemManager subclass that manages a pool of ISystem objects, one per system connection. |
UniversalCmdSubSystemImpl |
getUniversalCmdSubSystem()
Retrieve the peer Universal command subsystem for for this connection |
int |
getUnusedPort()
Returns an unused port number on the remote host that could be used by any tool on the host. |
int |
getUploadBufferSize()
|
protected int[] |
getWellKnownRemotePorts()
Gets an array of well known ports on the remote system. |
boolean |
isCaseSensitive()
Return true if file names are case-sensitive. |
protected boolean |
isSpecialChar(char c)
Checks whether the given character is a special character in the shell. |
IRemoteFile[] |
listFiles(IRemoteFile parent,
String fileNameFilter,
IRemoteFileContext context)
Return a list of remote files in the given folder, which match the given name pattern. |
IRemoteFile[] |
listFolders(IRemoteFile parent,
String folderNameFilter,
IRemoteFileContext context)
Return a subsetted list of remote folders in the given parent folder on the remote system. |
IRemoteFile[] |
listFoldersAndFiles(IRemoteFile parent,
String fileNameFilter,
IRemoteFileContext context)
Return a list of remote folders and files in the given folder. |
IRemoteFile[] |
listRoots(IRemoteFileContext context)
Return a list of roots/drives on the remote system |
void |
markCachedStale(String absolutePath)
|
boolean |
move(IRemoteFile sourceFolderOrFile,
IRemoteFile targetFolder,
String newName)
Move a file or folder to a new target parent folder. |
protected String |
prepareForDownload(String localPath)
|
boolean |
rename(IRemoteFile folderOrFile,
String newName)
Rename the given remote file or folder. |
void |
search(IRemoteSearchResultConfiguration searchConfig)
Given a search configuration, searches for its results. |
protected SubSystem |
selectCommandSubSystem(SubSystem[] allCmdSubSystems)
Internal method to select the appropriate command subsystem when there are multiple defined for this connection. |
void |
setAttributes(DataElement deObj,
String fileNameFilter,
boolean showHidden)
The attributes sent to the miner - required for the query. |
protected void |
setDataStoreRoot(String root)
|
boolean |
setLastModified(IRemoteFile folderOrFile,
long newDate)
Set the last modified date for the given file or folder. |
boolean |
setReadOnly(IRemoteFile folderOrFile)
Set this file to be readonly. |
ArrayList |
setSearchAttributes(String textString,
boolean isCaseSensitive,
boolean isTextRegex,
String fileNamesString,
boolean isFileNamesRegex,
boolean includeArchives,
boolean includeSubfolders,
String classificationString,
boolean showHidden)
|
protected void |
showUploadFailedMessage(FileTransferStatusListener listener,
String source)
|
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.RemoteFileSubSystem |
---|
copy, copy, copy, copy, copy, copy, copyUTF8, copyUTF8, copyUTF8, copyUTF8, getHomeFolder, getLineSeparator, getParentFolderName, getParentRemoteFileSubSystemFactory, getPathSeparator, getPathSeparatorChar, getRemoteSearchResultObject, getSeparator, getSeparatorChar, listFiles, listFiles, listFolders, listFolders, listFoldersAndFiles, listFoldersAndFiles, listRoots, setHomeFolder |
Methods inherited from interface com.ibm.etools.systems.subsystems.IRemoteObjectResolver |
---|
getObjectWithAbsoluteName |
Field Detail |
public static final String copyright
protected boolean showHidden
protected DataElement _minerElement
protected DataElement _downloadDescriptor
protected DataElement _uploadLogElement
protected DataElement _queryAllDescriptor
protected DataElement _queryFilesDescriptor
protected DataElement _queryFoldersDescriptor
protected DataElement _queryRemoteObjectDescriptor
protected int _fsMinerVersion
protected int _fsMinerMajor
protected int _fsMinerMinor
Constructor Detail |
public UniversalFileSubSystemImpl()
Method Detail |
protected EClass eStaticClass()
eStaticClass
in class RemoteFileSubSystemImpl
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs)
eInverseAdd
in class RemoteFileSubSystemImpl
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs)
eInverseRemove
in class RemoteFileSubSystemImpl
public Object eGet(EStructuralFeature eFeature, boolean resolve)
eGet
in class RemoteFileSubSystemImpl
public void eSet(EStructuralFeature eFeature, Object newValue)
eSet
in class RemoteFileSubSystemImpl
public void eUnset(EStructuralFeature eFeature)
eUnset
in class RemoteFileSubSystemImpl
public boolean eIsSet(EStructuralFeature eFeature)
eIsSet
in class RemoteFileSubSystemImpl
protected SubSystem selectCommandSubSystem(SubSystem[] allCmdSubSystems)
selectCommandSubSystem
in class SubSystemImpl
public AbstractSystemManager getSystemManager()
getSystemManager
in interface SubSystem
getSystemManager
in class SubSystemImpl
protected DataStore getDataStore()
protected void checkForNetworkErrors() throws SystemMessageException
SystemMessageException
- if a network error has occuredpublic IRemoteFileFactory getRemoteFileFactory()
public IRemoteFile[] listRoots(IRemoteFileContext context) throws InterruptedException
listRoots
in class RemoteFileSubSystemImpl
InterruptedException
public void search(IRemoteSearchResultConfiguration searchConfig)
search
in interface RemoteFileSubSystem
searchConfig
- must be an instance of UniversalSearchResultConfigurationImpl
.RemoteFileSubSystem.search(com.ibm.etools.systems.subsystems.IRemoteSearchResultConfiguration)
public void cancelSearch(IRemoteSearchResultConfiguration searchConfig)
cancelSearch
in interface RemoteFileSubSystem
searchConfig
- must be an instance of UniversalSearchResultConfigurationImpl
.RemoteFileSubSystem.cancelSearch(com.ibm.etools.systems.subsystems.IRemoteSearchResultConfiguration)
public IRemoteSearchResultConfigurationFactory getRemoteSearchResultConfigurationFactory()
getRemoteSearchResultConfigurationFactory
in interface RemoteFileSubSystem
RemoteFileSubSystem.getRemoteSearchResultConfigurationFactory()
protected IRemoteFile convertObjToRemoteFile(IRemoteFileContext context, Object obj, boolean exists)
protected IRemoteFile convertObjToRemoteFile(IRemoteFileContext context, Object obj)
protected IRemoteFile[] convertObjsToRemoteFiles(IRemoteFileContext context, String folderFilter, String fileFilter, Object[] objs, boolean isRoot, boolean exists)
protected IRemoteFile[] convertObjsToRemoteFiles(IRemoteFileContext context, String folderFilter, String fileFilter, Object[] objs, boolean isRoot, boolean exists, boolean isDir)
public IRemoteFile[] listFolders(IRemoteFile parent, String folderNameFilter, IRemoteFileContext context)
listFolders
in class RemoteFileSubSystemImpl
parent
- The parent folder to list folders infolderNameFilter
- The name pattern for subsetting the listcontext
- The holder of state informationpublic IRemoteFile[] listFiles(IRemoteFile parent, String fileNameFilter, IRemoteFileContext context)
listFiles
in class RemoteFileSubSystemImpl
parent
- The parent folder to list files infileNameFilter
- The name pattern to subset the list by, or null to return all files.context
- The holder of state informationpublic IRemoteFile[] listFoldersAndFiles(IRemoteFile parent, String fileNameFilter, IRemoteFileContext context)
listFoldersAndFiles
in class RemoteFileSubSystemImpl
parent
- The parent folder to list folders and files infileNameFilter
- The name pattern to subset the file list by, or null to return all files.context
- The holder of state informationpublic IRemoteFile getParentFolder(IRemoteFile folderOrFile)
getParentFolder
in interface RemoteFileSubSystem
getParentFolder
in class RemoteFileSubSystemImpl
folderOrFile
- folder or file to return parent of.public IRemoteFile getRemoteFileObject(String folderOrFileName) throws SystemMessageException
getRemoteFileObject
in interface RemoteFileSubSystem
getRemoteFileObject
in class RemoteFileSubSystemImpl
folderOrFileName
- Fully qualified folder or file name
SystemMessageException
public IRemoteFile getRemoteFileObject(IRemoteFile parent, String folderOrFileName) throws SystemMessageException
getRemoteFileObject
in interface RemoteFileSubSystem
getRemoteFileObject
in class RemoteFileSubSystemImpl
parent
- Folder containing the folder or filefolderOrFileName
- Un-qualified folder or file name
SystemMessageException
public IRemoteFile createFile(IRemoteFile fileToCreate) throws RemoteFileSecurityException, RemoteFileIOException
createFile
in interface RemoteFileSubSystem
createFile
in class RemoteFileSubSystemImpl
fileToCreate
- The object representing the file to be created.
RemoteFileSecurityException
RemoteFileIOException
createFolders(IRemoteFile)
public IRemoteFile createFolder(IRemoteFile folderToCreate) throws RemoteFileSecurityException, RemoteFileIOException
createFolder
in interface RemoteFileSubSystem
createFolder
in class RemoteFileSubSystemImpl
folderToCreate
- The object representing the folder to be created.
RemoteFileSecurityException
RemoteFileIOException
createFolders(IRemoteFile)
public void markCachedStale(String absolutePath)
public IRemoteFile createFolders(IRemoteFile folderToCreate) throws RemoteFileSecurityException, RemoteFileIOException
createFolders
in interface RemoteFileSubSystem
createFolders
in class RemoteFileSubSystemImpl
folderToCreate
- The object representing the folder to be created, along with its parents.
RemoteFileSecurityException
RemoteFileIOException
getParentFolder(IRemoteFile)
public boolean delete(IRemoteFile folderOrFile) throws RemoteFolderNotEmptyException, RemoteFileSecurityException, RemoteFileIOException
delete
in interface RemoteFileSubSystem
delete
in class RemoteFileSubSystemImpl
folderOrFile
- represents the object to be deleted.
RemoteFolderNotEmptyException
RemoteFileSecurityException
RemoteFileIOException
public boolean rename(IRemoteFile folderOrFile, String newName) throws RemoteFileIOException, RemoteFileSecurityException
rename
in interface RemoteFileSubSystem
rename
in class RemoteFileSubSystemImpl
folderOrFile
- represents the object to be renamed.newName
- new name to give it.
RemoteFileIOException
RemoteFileSecurityException
public boolean setLastModified(IRemoteFile folderOrFile, long newDate) throws RemoteFileSecurityException, RemoteFileIOException
setLastModified
in interface RemoteFileSubSystem
setLastModified
in class RemoteFileSubSystemImpl
folderOrFile
- represents the object to be renamed.newDate
- new date, in milliseconds from epoch, to assign.
RemoteFileSecurityException
RemoteFileIOException
public boolean setReadOnly(IRemoteFile folderOrFile) throws RemoteFileSecurityException, RemoteFileIOException
setReadOnly
in interface RemoteFileSubSystem
setReadOnly
in class RemoteFileSubSystemImpl
folderOrFile
- represents the object to be renamed.
RemoteFileSecurityException
RemoteFileIOException
protected DataElement getFileSystemMinerElement()
protected int getFileSystemMinerVersion()
protected DataElement getDownloadDescriptor(DataElement remoteElement)
protected DataElement getQueryAllDescriptor(DataElement remoteElement)
protected DataElement getQueryFilesDescriptor(DataElement remoteElement)
protected DataElement getQueryFoldersDescriptor(DataElement remoteElement)
protected DataElement getQueryRemoteObjectDescriptor(DataElement remoteElement)
public void copy(IRemoteFile source, String destination, String encoding, IProgressMonitor monitor) throws RemoteFileSecurityException, RemoteFileIOException
copy
in interface RemoteFileSubSystem
source
- remote file that represents the file to be obtaineddestination
- the absolute path of the local fileencoding
- the encoding of the local filemonitor
- progress monitor
RemoteFileSecurityException
RemoteFileIOException
protected String getDataStoreRoot()
protected String prepareForDownload(String localPath)
protected void setDataStoreRoot(String root)
public void copy(String source, IRemoteFile destination, String encoding, IProgressMonitor monitor) throws RemoteFileSecurityException, RemoteFileIOException
copy
in interface RemoteFileSubSystem
source
- the absolute path of the local copydestination
- remote file that represents the file on the serverencoding
- the encoding of the local copymonitor
- the progress monitor
RemoteFileSecurityException
RemoteFileIOException
public int getUploadBufferSize()
public int getDownloadBufferSize()
public void copyLocalToRemote(String source, String destination, IProgressMonitor monitor) throws RemoteFileSecurityException, RemoteFileIOException
copyLocalToRemote
in interface RemoteFileSubSystem
copyLocalToRemote
in class RemoteFileSubSystemImpl
source
- the absolute path of the local copydestination
- remote file that represents the file on the servermonitor
- the progress monitor
RemoteFileSecurityException
RemoteFileIOException
public void copyLocalToRemote(String source, String srcEncoding, String remotePath, String rmtEncoding, IProgressMonitor monitor) throws RemoteFileSecurityException, RemoteFileIOException
copyLocalToRemote
in interface RemoteFileSubSystem
copyLocalToRemote
in class RemoteFileSubSystemImpl
source
- the absolute path of the local copysrcEncoding
- The encoding of the local copyremotePath
- remote file that represents the file on the serverrmtEncoding
- The encoding of the remote file.monitor
- the progress monitor
RemoteFileSecurityException
RemoteFileIOException
public void copy(InputStream stream, long totalBytes, IRemoteFile destination, String encoding, IProgressMonitor monitor) throws RemoteFileSecurityException, RemoteFileIOException
RemoteFileSubSystem
copy
in interface RemoteFileSubSystem
stream
- the input stream containing the local data.totalBytes
- the total number of bytes in the stream, or -1 if unknown. If -1 is specified, then the progress monitor must be null
.destination
- remote file that represents the file on the server.encoding
- the encoding of the local data, or null
to specify binary.monitor
- the progress monitor.
RemoteFileSecurityException
RemoteFileIOException
RemoteFileSubSystem.copy(java.io.InputStream, long, com.ibm.etools.systems.subsystems.IRemoteFile, java.lang.String, org.eclipse.core.runtime.IProgressMonitor)
public void copyLocalToRemote(InputStream stream, long totalBytes, String srcEncoding, String remotePath, String rmtEncoding, IProgressMonitor monitor) throws RemoteFileSecurityException, RemoteFileIOException
stream
- the input stream representing the local data.totalBytes
- the total number of bytes to upload, or -1 if unknown. If -1 is specified, then the progress monitor must be null
.srcEncoding
- the source encoding, or null
for binary.remotePath
- path of the remote file.rmtEncoding
- the remote encoding.monitor
- the progress monitor.
RemoteFileSecurityException
RemoteFileIOException
protected void showUploadFailedMessage(FileTransferStatusListener listener, String source) throws RemoteFileIOException
RemoteFileIOException
public String getRemoteEncoding()
getRemoteEncoding
in interface RemoteFileSubSystem
public boolean isCaseSensitive()
isCaseSensitive
in interface RemoteFileSubSystem
isCaseSensitive
in class RemoteFileSubSystemImpl
public void setAttributes(DataElement deObj, String fileNameFilter, boolean showHidden)
The StringBuffer sends the attributes required by the miner for the query in the following order
public ArrayList setSearchAttributes(String textString, boolean isCaseSensitive, boolean isTextRegex, String fileNamesString, boolean isFileNamesRegex, boolean includeArchives, boolean includeSubfolders, String classificationString, boolean showHidden)
public UniversalCmdSubSystemImpl getUniversalCmdSubSystem()
public boolean copy(IRemoteFile sourceFolderOrFile, IRemoteFile targetFolder, String newName, IProgressMonitor monitor) throws RemoteFileSecurityException, RemoteFileIOException
RemoteFileSubSystem
copy
in interface RemoteFileSubSystem
sourceFolderOrFile
- The file or folder to copytargetFolder
- The folder to copy to. No guarantee it is on the same system, so be sure to check getSystemConnection()!newName
- The new name for the copied file or folder
RemoteFileSecurityException
RemoteFileIOException
RemoteFileSubSystemImpl#copy(IRemoteFile, IRemoteFile, String)
public boolean move(IRemoteFile sourceFolderOrFile, IRemoteFile targetFolder, String newName) throws RemoteFileSecurityException, RemoteFileIOException
RemoteFileSubSystem
move
in interface RemoteFileSubSystem
move
in class RemoteFileSubSystemImpl
sourceFolderOrFile
- The file or folder to movetargetFolder
- The folder to move to. No guarantee it is on the same system, so be sure to check getSystemConnection()!newName
- The new name for the moved file or folder
RemoteFileSecurityException
RemoteFileIOException
RemoteFileSubSystemImpl.move(IRemoteFile, IRemoteFile, String)
protected boolean isSpecialChar(char c)
c
- the character to check.
true
if the character is a special character, false
otherwise.public String getQualifiedClassName(IRemoteFile classFile)
protected DataElement findUploadStatusFor(String remotePath)
protected DataElement findUploadLog()
public ILanguageUtilityFactory getLanguageUtilityFactory()
UniversalLanguageUtilityFactory
.
getLanguageUtilityFactory
in interface RemoteFileSubSystem
getLanguageUtilityFactory
in class RemoteFileSubSystemImpl
RemoteFileSubSystem.getLanguageUtilityFactory()
public int getUnusedPort()
RemoteFileSubSystem
getUnusedPort
in interface RemoteFileSubSystem
getUnusedPort
in class RemoteFileSubSystemImpl
RemoteFileSubSystem.getUnusedPort()
public InetAddress getLocalAddress()
getLocalAddress
in interface RemoteFileSubSystem
getLocalAddress
in class RemoteFileSubSystemImpl
RemoteFileSubSystem.getLocalAddress()
protected int[] getWellKnownRemotePorts()
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |