|
RSE Release 3.0 |
||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Uses of SystemMessageException in org.eclipse.rse.core.subsystems |
| Methods in org.eclipse.rse.core.subsystems with parameters of type SystemMessageException | |
protected void |
SubSystem.displayAsyncMsg(SystemMessageException msg)
Display message on message thread |
| Methods in org.eclipse.rse.core.subsystems that throw SystemMessageException | |
void |
SubSystem.checkIsConnected(IProgressMonitor monitor)
|
protected boolean |
SubSystem.implicitConnect(boolean isConnectOperation,
IProgressMonitor mon,
String msg,
int totalWorkUnits)
|
void |
ISubSystem.checkIsConnected(IProgressMonitor monitor)
Check if the subsystem is connected, and connect if it's not. |
| Constructors in org.eclipse.rse.core.subsystems with parameters of type SystemMessageException | |
SubSystem.DisplayErrorMessageJob(Shell shell,
SystemMessageException msgExc)
Constructor |
|
| Uses of SystemMessageException in org.eclipse.rse.dstore.universal.miners |
| Methods in org.eclipse.rse.dstore.universal.miners that throw SystemMessageException | |
DataElement |
UniversalFileSystemMiner.handleCommand(DataElement theElement)
|
DataElement |
UniversalFileSystemMiner.handleQueryAll(DataElement subject,
DataElement attributes,
DataElement status,
String queryType,
boolean caseSensitive)
Method to list the files and folders for a given filter. |
DataElement |
UniversalFileSystemMiner.handleQueryFiles(DataElement subject,
DataElement attributes,
DataElement status,
String queryType,
boolean caseSensitive)
Method to list the files for a given filter. |
DataElement |
UniversalFileSystemMiner.handleQueryFolders(DataElement subject,
DataElement attributes,
DataElement status,
String queryType,
boolean caseSensitive)
Method to list the folders for a given filter. |
DataElement |
UniversalFileSystemMiner.handleQueryRoots(DataElement subject,
DataElement status)
Method to list the roots. |
protected DataElement |
UniversalFileSystemMiner.handleQueryBasicProperty(DataElement subject,
DataElement status)
Method to Retrieve properties of the file or folder. |
protected DataElement |
UniversalFileSystemMiner.handleQueryExists(DataElement subject,
DataElement status,
String queryType)
Method to query existence of the file or folder. |
DataElement |
UniversalFileSystemMiner.handleQueryGetRemoteObject(DataElement subject,
DataElement status,
String queryType)
Method to get remote object |
ISystemArchiveHandler |
UniversalFileSystemMiner.getArchiveHandlerFor(String archivePath)
|
String |
UniversalFileSystemMiner.setProperties(File fileObj,
boolean doArchiveProperties)
Method to obtain the properties of file or folder. |
String |
UniversalFileSystemMiner.setProperties(File fileObj)
|
| Uses of SystemMessageException in org.eclipse.rse.files.ui.resources |
| Methods in org.eclipse.rse.files.ui.resources that throw SystemMessageException | |
static void |
UniversalFileTransferUtility.transferProperties(IResource source,
IRemoteFile target,
IProgressMonitor monitor)
|
| Uses of SystemMessageException in org.eclipse.rse.internal.services.terminals |
| Methods in org.eclipse.rse.internal.services.terminals that throw SystemMessageException | |
ITerminalShell |
ITerminalService.launchTerminal(String ptyType,
String encoding,
String[] environment,
String initialWorkingDirectory,
String commandToRun,
IProgressMonitor monitor)
Launch a new terminal connection, also known as shell session with Streams. |
| Uses of SystemMessageException in org.eclipse.rse.services.clientserver.archiveutils |
| Methods in org.eclipse.rse.services.clientserver.archiveutils that throw SystemMessageException | |
void |
ISystemArchiveHandler.create()
Turns the archive that this handler represents into a new, empty archive. |
VirtualChild[] |
ISystemArchiveHandler.getVirtualChildrenList(ISystemOperationMonitor archiveOperationMonitor)
Return a flat list of entries in an archive. |
VirtualChild[] |
ISystemArchiveHandler.getVirtualChildrenList(String parent,
ISystemOperationMonitor archiveOperationMonitor)
Return a flat list of entries in an archive, whose full paths begin with the given parent prefix. |
VirtualChild[] |
ISystemArchiveHandler.getVirtualChildren(String fullVirtualName,
ISystemOperationMonitor archiveOperationMonitor)
Return the children of a specified node in an archive. |
VirtualChild[] |
ISystemArchiveHandler.getVirtualChildFolders(String fullVirtualName,
ISystemOperationMonitor archiveOperationMonitor)
Return those children of a specified node in an archive, which are folders. |
VirtualChild |
ISystemArchiveHandler.getVirtualFile(String fullVirtualName,
ISystemOperationMonitor archiveOperationMonitor)
Return an archive node specified by a given virtual path. |
boolean |
ISystemArchiveHandler.exists(String fullVirtualName,
ISystemOperationMonitor archiveOperationMonitor)
Check whether a given virtual node exists in an archive. |
long |
ISystemArchiveHandler.getTimeStampFor(String fullVirtualName)
Return the timestamp for an archive node. |
long |
ISystemArchiveHandler.getSizeFor(String fullVirtualName)
Return the size for an archive node. |
void |
ISystemArchiveHandler.extractVirtualFile(String fullVirtualName,
File destination,
ISystemOperationMonitor archiveOperationMonitor)
Extracts the virtual file named fullVirtualName from the
archive, placing the results in destination. |
void |
ISystemArchiveHandler.extractVirtualFile(String fullVirtualName,
File destination,
String sourceEncoding,
boolean isText,
ISystemOperationMonitor archiveOperationMonitor)
Extracts the virtual file named fullVirtualName from the
archive, placing the results in destination. |
void |
ISystemArchiveHandler.extractVirtualDirectory(String dir,
File destinationParent,
ISystemOperationMonitor archiveOperationMonitor)
Extracts the directory dir (and its children) from the
archive and places the results in the directory
destinationParent. |
void |
ISystemArchiveHandler.extractVirtualDirectory(String dir,
File destinationParent,
String sourceEncoding,
boolean isText,
ISystemOperationMonitor archiveOperationMonitor)
Extracts the directory dir (and its children) from the
archive and places the results in the directory
destinationParent. |
void |
ISystemArchiveHandler.extractVirtualDirectory(String dir,
File destinationParent,
File destination,
ISystemOperationMonitor archiveOperationMonitor)
Extracts the directory dir (and its children) from the
archive and places the results in the directory
destinationParent. |
void |
ISystemArchiveHandler.extractVirtualDirectory(String dir,
File destinationParent,
File destination,
String sourceEncoding,
boolean isText,
ISystemOperationMonitor archiveOperationMonitor)
Extracts the directory dir (and its children) from the
archive and places the results in the directory
destinationParent. |
void |
ISystemArchiveHandler.add(File file,
String virtualPath,
String name,
ISystemOperationMonitor archiveOperationMonitor)
Compresses the file file and adds it to the archive, placing
it in the virtual directory virtualPath. |
void |
ISystemArchiveHandler.add(File file,
String virtualPath,
String name,
String sourceEncoding,
String targetEncoding,
boolean isText,
ISystemOperationMonitor archiveOperationMonitor)
Compresses the file file and adds it to the archive, saving
it in the encoding specified by encoding if the isText is
true. placing it in the virtual directory virtualPath. |
void |
ISystemArchiveHandler.add(InputStream stream,
String virtualPath,
String name,
String sourceEncoding,
String targetEncoding,
boolean isText,
ISystemOperationMonitor archiveOperationMonitor)
Compresses the bytes in the InputStream stream and adds them
as an entry to the archive, saving them in the encoding specified by
encoding if isText is true, and placing it in
the virtual directory virtualPath. |
void |
ISystemArchiveHandler.add(File file,
String virtualPath,
String name,
String sourceEncoding,
String targetEncoding,
ISystemFileTypes typeRegistery,
ISystemOperationMonitor archiveOperationMonitor)
Compresses the file file and adds it to the archive, saving
it in the encoding specified by encoding if the isText is
true. placing it in the virtual directory virtualPath. |
void |
ISystemArchiveHandler.add(File[] files,
String virtualPath,
String[] names,
ISystemOperationMonitor archiveOperationMonitor)
A generalization of the add method. |
void |
ISystemArchiveHandler.add(File[] files,
String virtualPath,
String[] names,
String[] sourceEncodings,
String[] targetEncodings,
boolean[] isText,
ISystemOperationMonitor archiveOperationMonitor)
A generalization of the add method. |
void |
ISystemArchiveHandler.replace(String fullVirtualName,
File file,
String name,
ISystemOperationMonitor archiveOperationMonitor)
Compress the file file and replace the virtual file referred
to by fullVirtualName with the compressed file. |
void |
ISystemArchiveHandler.replace(String fullVirtualName,
InputStream stream,
String name,
String sourceEncoding,
String targetEncoding,
boolean isText,
ISystemOperationMonitor archiveOperationMonitor)
Compress the InputStream stream and replace the virtual file
referred to by fullVirtualName with the compressed stream.
|
boolean |
ISystemArchiveHandler.delete(String fullVirtualName,
ISystemOperationMonitor archiveOperationMonitor)
Deletes the entry fullVirtualName from the archive, and
returns whether or not the deletion was successful. |
void |
ISystemArchiveHandler.rename(String fullVirtualName,
String newName,
ISystemOperationMonitor archiveOperationMonitor)
Renames the entry fullVirtualName to the new name
newName while still leaving the entry in the same virtual
directory. |
void |
ISystemArchiveHandler.move(String fullVirtualName,
String destinationVirtualPath,
ISystemOperationMonitor archiveOperationMonitor)
Moves the entry fullVirtualName to the location specified by
destinationVirtualPath, while leaving the entry with the
same name as before. |
void |
ISystemArchiveHandler.fullRename(String fullVirtualName,
String newFullVirtualName,
ISystemOperationMonitor archiveOperationMonitor)
Replaces the full name and path of the entry fullVirtualName
with the new full name and path newFullVirtualName. |
File[] |
ISystemArchiveHandler.getFiles(String[] fullNames,
ISystemOperationMonitor archiveOperationMonitor)
Extracts and returns the specified list of virtual files from the archive. |
void |
ISystemArchiveHandler.createFolder(String fullVirtualName,
ISystemOperationMonitor archiveOperationMonitor)
Creates a new, empty folder in the archive. |
void |
ISystemArchiveHandler.createFile(String fullVirtualName,
ISystemOperationMonitor archiveOperationMonitor)
Creates a new, empty file in the archive. |
SystemSearchLineMatch[] |
ISystemArchiveHandler.search(String fullVirtualName,
SystemSearchStringMatcher matcher,
ISystemOperationMonitor archiveOperationMonitor)
Search for text within a virtual file in this archive. |
String |
ISystemArchiveHandler.getCommentFor(String fullVirtualName)
Get the user-defined comment for a specific entry in the archive. |
long |
ISystemArchiveHandler.getCompressedSizeFor(String fullVirtualName)
Get the amount of space taken up by a specific entry in the archive when it is in compressed form. |
String |
ISystemArchiveHandler.getCompressionMethodFor(String fullVirtualName)
Get the method used to compress a specific entry in the archive. |
String |
ISystemArchiveHandler.getArchiveComment()
Get the comment associated with an archive. |
String |
ISystemArchiveHandler.getClassification(String fullVirtualName)
Get the classification for the entry with the given path. |
VirtualChild[] |
ArchiveHandlerManager.getContents(File file,
String virtualpath)
Returns the children of an object in the virtual file system. |
VirtualChild[] |
ArchiveHandlerManager.getFolderContents(File file,
String virtualpath)
Returns the children of an object in the virtual file system that are folders. |
VirtualChild |
ArchiveHandlerManager.getVirtualObject(String fullyQualifiedName)
Given the absolute path to a virtual object, returns that object as a VirtualChild. |
ISystemArchiveHandler |
ArchiveHandlerManager.getRegisteredHandler(File file)
Returns the registered handler for the File file. |
void |
ArchiveHandlerManager.createEmptyArchive(File newFile)
Create an empty archive |
String |
ArchiveHandlerManager.getComment(File archive)
Get archive comment. |
long |
ArchiveHandlerManager.getExpandedSize(File archive)
Get total expanded size of an archive. |
String |
ArchiveHandlerManager.getClassification(File file,
String virtualPath)
Returns the classification for the entry in a archive with the given virtual path. |
VirtualChild[] |
SystemZipHandler.getVirtualChildrenList(ISystemOperationMonitor archiveOperationMonitor)
Return a flat list of entries in an archive. |
VirtualChild[] |
SystemZipHandler.getVirtualChildrenList(boolean closeZipFile,
ISystemOperationMonitor archiveOperationMonitor)
Same as getVirtualChildrenList(), but you can choose whether to leave the zip file open or closed upon return. |
VirtualChild[] |
SystemZipHandler.getVirtualChildrenList(String parent,
ISystemOperationMonitor archiveOperationMonitor)
Return a flat list of entries in an archive, whose full paths begin with the given parent prefix. |
VirtualChild[] |
SystemZipHandler.getVirtualChildrenList(String parent,
boolean closeZipFile,
ISystemOperationMonitor archiveOperationMonitor)
Same as getVirtualChildrenList(String parent) but you can choose whether or not you want to leave the zipfile open after return. |
boolean |
SystemZipHandler.exists(String fullVirtualName,
ISystemOperationMonitor archiveOperationMonitor)
Check whether a given virtual node exists in an archive. |
long |
SystemZipHandler.getTimeStampFor(String fullVirtualName)
|
long |
SystemZipHandler.getTimeStampFor(String fullVirtualName,
boolean closeZipFile)
Same as getTimeStampFor(String fullVirtualName) but you can choose whether or not you want to leave the zipfile open after return. |
long |
SystemZipHandler.getSizeFor(String fullVirtualName)
|
long |
SystemZipHandler.getSizeFor(String fullVirtualName,
boolean closeZipFile)
Same as SystemZipHandler.getSizeFor(String) but allows to specify whether to
close the zip file or not. |
void |
SystemZipHandler.extractVirtualFile(String fullVirtualName,
File destination,
ISystemOperationMonitor archiveOperationMonitor)
Extracts the virtual file named fullVirtualName from the
archive, placing the results in destination. |
void |
SystemZipHandler.extractVirtualFile(String fullVirtualName,
File destination,
String sourceEncoding,
boolean isText,
ISystemOperationMonitor archiveOperationMonitor)
Extracts the virtual file named fullVirtualName from the
archive, placing the results in destination. Extracts to the
native encoding, but assumes that the source was archived using
sourceEncoding if isText is true. |
void |
SystemZipHandler.extractVirtualFile(String fullVirtualName,
File destination,
boolean closeZipFile,
String sourceEncoding,
boolean isText,
ISystemOperationMonitor archiveOperationMonitor)
Same as extractVirtualFile(String fullVirtualName, File destination) but you can choose whether or not you want to leave the zipfile open after return. |
void |
SystemZipHandler.extractVirtualDirectory(String dir,
File destinationParent,
ISystemOperationMonitor archiveOperationMonitor)
Extracts the directory dir (and its children) from the
archive and places the results in the directory
destinationParent. |
void |
SystemZipHandler.extractVirtualDirectory(String dir,
File destinationParent,
String sourceEncoding,
boolean isText,
ISystemOperationMonitor archiveOperationMonitor)
Extracts the directory dir (and its children) from the
archive and places the results in the directory
destinationParent. Extracts to the native encoding (if
isText), but assumes that the source was archived using
sourceEncoding. |
void |
SystemZipHandler.extractVirtualDirectory(String dir,
File destinationParent,
File destination,
ISystemOperationMonitor archiveOperationMonitor)
Extracts the directory dir (and its children) from the
archive and places the results in the directory
destinationParent. The results will be named
destination.getName() rather than dir's name. |
void |
SystemZipHandler.extractVirtualDirectory(String dir,
File destinationParent,
File destination,
String sourceEncoding,
boolean isText,
ISystemOperationMonitor archiveOperationMonitor)
Extracts the directory dir (and its children) from the
archive and places the results in the directory
destinationParent. The results will be named
destination.getName() rather than dir's name. Extracts to
the native encoding (if isText), but assumes that the source
was archived using sourceEncoding. |
protected void |
SystemZipHandler.createFile(File file)
Create an empty file, also creating parent folders if necessary. |
void |
SystemZipHandler.add(File file,
String virtualPath,
String name,
ISystemOperationMonitor archiveOperationMonitor)
Compresses the file file and adds it to the archive, placing
it in the virtual directory virtualPath. Pass the name as
the parameter name. If the virtual path does not exist in
the archive, create it. If file is a directory, copy it and
its contents into the archive, maintaining the tree structure. |
void |
SystemZipHandler.add(InputStream stream,
String virtualPath,
String name,
String sourceEncoding,
String targetEncoding,
boolean isText,
ISystemOperationMonitor archiveOperationMonitor)
Compresses the bytes in the InputStream stream and adds them
as an entry to the archive, saving them in the encoding specified by
encoding if isText is true, and placing it in
the virtual directory virtualPath. Pass the name as the
parameter name. If the virtual path does not exist in the
archive, create it. |
void |
SystemZipHandler.add(File[] files,
String virtualPath,
String[] names,
ISystemOperationMonitor archiveOperationMonitor)
A generalization of the add method. Compresses the array of files files and adds each of them to the archive, placing them in
the virtual directory virtualPath. Pass the names of the
files as the parameter names, where files[i]
has the name names[i]. If the virtual path does not exist in
the archive, create it. |
void |
SystemZipHandler.add(File[] files,
String virtualPath,
String[] names,
String[] sourceEncodings,
String[] targetEncodings,
boolean[] isText,
ISystemOperationMonitor archiveOperationMonitor)
A generalization of the add method. Compresses the array of files files and adds each of them to the archive, placing them in
the virtual directory virtualPath. Save the i'th file in the
i'th encoding (if isText[i] is true) specified by encodings.
Pass the names of the files as the parameter names, where
files[i] has the name names[i]. If the virtual
path does not exist in the archive, create it. |
void |
SystemZipHandler.add(File[] files,
String virtualPath,
String[] names,
String[] sourceEncodings,
String[] targetEncodings,
boolean[] isText,
boolean closeZipFile,
ISystemOperationMonitor archiveOperationMonitor)
Same as add(File[] files, String virtualPath, String[] names, String[] encodings) but you can choose whether or not you want to leave the zipfile open after return. |
boolean |
SystemZipHandler.delete(String fullVirtualName,
ISystemOperationMonitor archiveOperationMonitor)
Deletes the entry fullVirtualName from the archive, and
returns whether or not the deletion was successful. |
boolean |
SystemZipHandler.delete(String fullVirtualName,
boolean closeZipFile,
ISystemOperationMonitor archiveOperationMonitor)
Same as delete(String fullVirtualName) but you can choose whether or not you want to leave the zipfile open after return. |
void |
SystemZipHandler.replace(String fullVirtualName,
File file,
String name,
ISystemOperationMonitor archiveOperationMonitor)
Compress the file file and replace the virtual file referred
to by fullVirtualName with the compressed file. Pass the
name of the file as the parameter name. |
void |
SystemZipHandler.replace(String fullVirtualName,
File file,
String name,
boolean closeZipFile,
ISystemOperationMonitor archiveOperationMonitor)
Same as replace(String fullVirtualName, File file, String name) but you can choose whether or not you want to leave the zipfile open after return. |
void |
SystemZipHandler.replace(String fullVirtualName,
InputStream stream,
String name,
String sourceEncoding,
String targetEncoding,
boolean isText,
ISystemOperationMonitor archiveOperationMonitor)
Compress the InputStream stream and replace the virtual file
referred to by fullVirtualName with the compressed stream.
Pass the name of the new entry as the parameter name, the
encoding of the entry as encoding and whether or not the
entry isText or not. |
void |
SystemZipHandler.fullRename(String fullVirtualName,
String newFullVirtualName,
ISystemOperationMonitor archiveOperationMonitor)
Replaces the full name and path of the entry fullVirtualName
with the new full name and path newFullVirtualName. |
void |
SystemZipHandler.fullRename(String fullVirtualName,
String newFullVirtualName,
boolean closeZipFile,
ISystemOperationMonitor archiveOperationMonitor)
Same as fullRename(String fullVirtualName, String newFullVirtualName) but you can choose whether or not you want to leave the zipfile open after return. |
void |
SystemZipHandler.move(String fullVirtualName,
String destinationVirtualPath,
ISystemOperationMonitor archiveOperationMonitor)
Moves the entry fullVirtualName to the location specified by
destinationVirtualPath, while leaving the entry with the
same name as before. |
void |
SystemZipHandler.rename(String fullVirtualName,
String newName,
ISystemOperationMonitor archiveOperationMonitor)
Renames the entry fullVirtualName to the new name
newName while still leaving the entry in the same virtual
directory. Returns true if and only if the rename was successful. |
File[] |
SystemZipHandler.getFiles(String[] fullNames,
ISystemOperationMonitor archiveOperationMonitor)
Extracts and returns the specified list of virtual files from the archive. |
void |
SystemZipHandler.createFolder(String name,
ISystemOperationMonitor archiveOperationMonitor)
Creates a new, empty folder in the archive. If parent folders do not exist either, creates them. |
void |
SystemZipHandler.createFile(String name,
ISystemOperationMonitor archiveOperationMonitor)
Creates a new, empty file in the archive. If parent folders do not exist either, creates them. |
protected boolean |
SystemZipHandler.createVirtualObject(String name,
boolean closeZipFile,
ISystemOperationMonitor archiveOperationMonitor)
Creates a new, empty object in the virtual File system, and creates an empty file or folder in the physical zip file. |
void |
SystemZipHandler.create()
Turns the archive that this handler represents into a new, empty archive. (The archive could not exist before, in which case this would be a true creation). |
SystemSearchLineMatch[] |
SystemZipHandler.search(String fullVirtualName,
SystemSearchStringMatcher matcher,
ISystemOperationMonitor archiveOperationMonitor)
Search for text within a virtual file in this archive. A good implementation will not actually extract the file to disk. |
String |
SystemZipHandler.getCommentFor(String fullVirtualName)
|
String |
SystemZipHandler.getCommentFor(String fullVirtualName,
boolean closeZipFile)
same as getCommentFor(String) but you can choose whether or not to leave the zipfile open after the method is closed |
long |
SystemZipHandler.getCompressedSizeFor(String fullVirtualName)
|
long |
SystemZipHandler.getCompressedSizeFor(String fullVirtualName,
boolean closeZipFile)
same as getCompressedSizeFor(String) but you can choose whether or not to leave the zipfile open after the method is closed |
String |
SystemZipHandler.getCompressionMethodFor(String fullVirtualName)
|
String |
SystemZipHandler.getCompressionMethodFor(String fullVirtualName,
boolean closeZipFile)
same as getCompressionMethodFor(String) but you can choose whether or not to leave the zipfile open after the method is closed |
String |
SystemZipHandler.getClassification(String fullVirtualName)
|
String |
SystemZipHandler.getClassification(String fullVirtualName,
boolean closeZipFile)
Same as getClassification(String), but you can choose whether to leave the zip file open after the method is closed. |
void |
SystemZipHandler.add(File file,
String virtualPath,
String name,
String sourceEncoding,
String targetEncoding,
ISystemFileTypes registry,
ISystemOperationMonitor archiveOperationMonitor)
Compresses the file file and adds it to the archive, saving
it in the encoding specified by encoding if the isText is
true. placing it in the virtual directory virtualPath. Pass
the name as the parameter name. If the virtual path does not
exist in the archive, create it. If file is a directory,
copy it and its contents into the archive, maintaining the tree
structure. |
void |
SystemZipHandler.add(File file,
String virtualPath,
String name,
String sourceEncoding,
String targetEncoding,
boolean isText,
ISystemOperationMonitor archiveOperationMonitor)
Compresses the file file and adds it to the archive, saving
it in the encoding specified by encoding if the isText is
true. placing it in the virtual directory virtualPath. Pass
the name as the parameter name. If the virtual path does not
exist in the archive, create it. If file is a directory,
copy it and its contents into the archive, maintaining the tree
structure. |
void |
SystemTarHandler.extractVirtualFile(String fullVirtualName,
File destination,
ISystemOperationMonitor archiveOperationMonitor)
Extracts the virtual file named fullVirtualName from the
archive, placing the results in destination. |
void |
SystemTarHandler.extractVirtualDirectory(String fullVirtualName,
File destinationParent,
ISystemOperationMonitor archiveOperationMonitor)
Extracts the directory dir (and its children) from the
archive and places the results in the directory
destinationParent. |
void |
SystemTarHandler.extractVirtualDirectory(String fullVirtualName,
File destinationParent,
File destination,
ISystemOperationMonitor archiveOperationMonitor)
Extracts the directory dir (and its children) from the
archive and places the results in the directory
destinationParent. The results will be named
destination.getName() rather than dir's name. |
void |
SystemTarHandler.add(File file,
String virtualPath,
String name,
ISystemOperationMonitor archiveOperationMonitor)
Compresses the file file and adds it to the archive, placing
it in the virtual directory virtualPath. Pass the name as
the parameter name. If the virtual path does not exist in
the archive, create it. If file is a directory, copy it and
its contents into the archive, maintaining the tree structure. |
void |
SystemTarHandler.add(File[] files,
String virtualPath,
String[] names,
ISystemOperationMonitor archiveOperationMonitor)
A generalization of the add method. Compresses the array of files files and adds each of them to the archive, placing them in
the virtual directory virtualPath. Pass the names of the
files as the parameter names, where files[i]
has the name names[i]. If the virtual path does not exist in
the archive, create it. |
void |
SystemTarHandler.replace(String fullVirtualName,
File file,
String name,
ISystemOperationMonitor archiveOperationMonitor)
Compress the file file and replace the virtual file referred
to by fullVirtualName with the compressed file. Pass the
name of the file as the parameter name. |
boolean |
SystemTarHandler.delete(String fullVirtualName,
ISystemOperationMonitor archiveOperationMonitor)
Deletes the entry fullVirtualName from the archive, and
returns whether or not the deletion was successful. |
protected boolean |
SystemTarHandler.doDelete(String fullVirtualName,
ISystemOperationMonitor archiveOperationMonitor)
Delete a virtual object. |
void |
SystemTarHandler.rename(String fullVirtualName,
String newName,
ISystemOperationMonitor archiveOperationMonitor)
Renames the entry fullVirtualName to the new name
newName while still leaving the entry in the same virtual
directory. Returns true if and only if the rename was successful. |
void |
SystemTarHandler.move(String fullVirtualName,
String destinationVirtualPath,
ISystemOperationMonitor archiveOperationMonitor)
Moves the entry fullVirtualName to the location specified by
destinationVirtualPath, while leaving the entry with the
same name as before. |
void |
SystemTarHandler.fullRename(String fullVirtualName,
String newFullVirtualName,
ISystemOperationMonitor archiveOperationMonitor)
Replaces the full name and path of the entry fullVirtualName
with the new full name and path newFullVirtualName. |
File[] |
SystemTarHandler.getFiles(String[] fullNames,
ISystemOperationMonitor archiveOperationMonitor)
Extracts and returns the specified list of virtual files from the archive. |
void |
SystemTarHandler.createFolder(String fullVirtualName,
ISystemOperationMonitor archiveOperationMonitor)
Creates a new, empty folder in the archive. If parent folders do not exist either, creates them. |
void |
SystemTarHandler.createFile(String fullVirtualName,
ISystemOperationMonitor archiveOperationMonitor)
Creates a new, empty file in the archive. If parent folders do not exist either, creates them. |
protected boolean |
SystemTarHandler.createVirtualObject(String name,
ISystemOperationMonitor archiveOperationMonitor)
Creates a virtual object that does not already exist in the virtual file system. |
void |
SystemTarHandler.create()
Turns the archive that this handler represents into a new, empty archive. (The archive could not exist before, in which case this would be a true creation). |
SystemSearchLineMatch[] |
SystemTarHandler.search(String fullVirtualName,
SystemSearchStringMatcher matcher,
ISystemOperationMonitor archiveOperationMonitor)
Search for text within a virtual file in this archive. A good implementation will not actually extract the file to disk. |
void |
SystemTarHandler.add(File file,
String virtualPath,
String name,
String encoding,
ISystemFileTypes registry,
ISystemOperationMonitor archiveOperationMonitor)
Compresses the file file and adds it to the archive, saving
it in the encoding specified by encoding if saving in text
mode. |
void |
SystemTarHandler.add(File file,
String virtualPath,
String name,
String sourceEncoding,
String targetEncoding,
boolean isText,
ISystemOperationMonitor archiveOperationMonitor)
Compresses the file file and adds it to the archive, saving
it in the encoding specified by encoding if the isText is
true. placing it in the virtual directory virtualPath. Pass
the name as the parameter name. If the virtual path does not
exist in the archive, create it. If file is a directory,
copy it and its contents into the archive, maintaining the tree
structure. |
void |
SystemTarHandler.add(File[] files,
String virtualPath,
String[] names,
String[] sourceEncodings,
String[] targetEncodings,
boolean[] isTexts,
ISystemOperationMonitor archiveOperationMonitor)
A generalization of the add method. Compresses the array of files files and adds each of them to the archive, placing them in
the virtual directory virtualPath. Save the i'th file in the
i'th encoding (if isText[i] is true) specified by encodings.
Pass the names of the files as the parameter names, where
files[i] has the name names[i]. If the virtual
path does not exist in the archive, create it. |
void |
SystemTarHandler.extractVirtualDirectory(String dir,
File destinationParent,
File destination,
String sourceEncoding,
boolean isText,
ISystemOperationMonitor archiveOperationMonitor)
Extracts the directory dir (and its children) from the
archive and places the results in the directory
destinationParent. The results will be named
destination.getName() rather than dir's name. Extracts to
the native encoding (if isText), but assumes that the source
was archived using sourceEncoding. |
void |
SystemTarHandler.extractVirtualDirectory(String dir,
File destinationParent,
String sourceEncoding,
boolean isText,
ISystemOperationMonitor archiveOperationMonitor)
Extracts the directory dir (and its children) from the
archive and places the results in the directory
destinationParent. Extracts to the native encoding (if
isText), but assumes that the source was archived using
sourceEncoding. |
void |
SystemTarHandler.extractVirtualFile(String fullVirtualName,
File destination,
String sourceEncoding,
boolean isText,
ISystemOperationMonitor archiveOperationMonitor)
Extracts the virtual file named fullVirtualName from the
archive, placing the results in destination. Extracts to the
native encoding, but assumes that the source was archived using
sourceEncoding if isText is true. |
String |
SystemTarHandler.getClassification(String fullVirtualName)
|
void |
SystemTarHandler.add(InputStream stream,
String virtualPath,
String name,
String sourceEncoding,
String targetEncoding,
boolean isText,
ISystemOperationMonitor archiveOperationMonitor)
Compresses the bytes in the InputStream stream and adds them
as an entry to the archive, saving them in the encoding specified by
encoding if isText is true, and placing it in
the virtual directory virtualPath. Pass the name as the
parameter name. If the virtual path does not exist in the
archive, create it. |
void |
SystemTarHandler.add(File file,
String virtualPath,
String name,
String sourceEncoding,
String targetEncoding,
ISystemFileTypes typeRegistery,
ISystemOperationMonitor archiveOperationMonitor)
Compresses the file file and adds it to the archive, saving
it in the encoding specified by encoding if the isText is
true. placing it in the virtual directory virtualPath. Pass
the name as the parameter name. If the virtual path does not
exist in the archive, create it. If file is a directory,
copy it and its contents into the archive, maintaining the tree
structure. |
void |
SystemTarHandler.replace(String fullVirtualName,
InputStream stream,
String name,
String sourceEncoding,
String targetEncoding,
boolean isText,
ISystemOperationMonitor archiveOperationMonitor)
Compress the InputStream stream and replace the virtual file
referred to by fullVirtualName with the compressed stream.
Pass the name of the new entry as the parameter name, the
encoding of the entry as encoding and whether or not the
entry isText or not. |
File |
VirtualChild.getExtractedFile()
|
File |
VirtualChild.getExtractedFile(String sourceEncoding,
boolean isText,
ISystemOperationMonitor archiveOperationMonitor)
|
void |
VirtualChild.getExtractedFile(File destination,
ISystemOperationMonitor archiveOperationMonitor)
Gets the extracted file or directory represented by this VirtualChild from the archive, and replaces the object referred to by destination with that extracted file or directory. |
void |
VirtualChild.getExtractedFile(File destination,
String sourceEncoding,
boolean isText,
ISystemOperationMonitor archiveOperationMonitor)
Gets the extracted file or directory represented by this VirtualChild from the archive, and replaces the object referred to by destination with that extracted file or directory. |
boolean |
VirtualChild.exists()
|
| Uses of SystemMessageException in org.eclipse.rse.services.clientserver.messages |
| Subclasses of SystemMessageException in org.eclipse.rse.services.clientserver.messages | |
class |
SystemElementNotFoundException
Exception thrown when an operation was requested on a given remote element, but that element did not exist. |
class |
SystemLockTimeoutException
Exception thrown when a remote operation requires an exclusive lock on some resources, such as a shared Mutex for some channel, and a timeout occurs acquiring that resource. |
class |
SystemNetworkIOException
Exception thrown in case of errors due to network I/O Problems. |
class |
SystemOperationCancelledException
Exception thrown when attempting an operation and the user cancelled it before it could be completed. |
class |
SystemOperationFailedException
Generic exception thrown when anything fails and a child exception is available to provide exception details. |
class |
SystemRemoteMessageException
Base class for remote system exceptions. |
class |
SystemRemoteSecurityException
Exception thrown when attempting an operation and it fails for security reasons. |
class |
SystemUnexpectedErrorException
Exception thrown when the cause for a problem can not be determined. |
class |
SystemUnsupportedOperationException
Exception thrown when an operation is requested from a Service that is not supported by that service. |
| Uses of SystemMessageException in org.eclipse.rse.services.files |
| Subclasses of SystemMessageException in org.eclipse.rse.services.files | |
class |
RemoteFileCancelledException
Deprecated. use SystemOperationCancelledException |
class |
RemoteFileException
Base class for remote file system exceptions. |
class |
RemoteFileIOException
Exception thrown when attempting an operation and it fails for IO reasons, such as the file is read-only. |
class |
RemoteFileSecurityException
Deprecated. Use SystemRemoteSecurityException |
class |
RemoteFolderNotEmptyException
Exception thrown when attempting to delete a folder, and the folder is not empty. |
| Methods in org.eclipse.rse.services.files that throw SystemMessageException | |
IHostFilePermissions |
IFilePermissionsService.getFilePermissions(IHostFile file,
IProgressMonitor monitor)
Gets the permissions for a file including the user and group owner |
void |
IFilePermissionsService.setFilePermissions(IHostFile file,
IHostFilePermissions permissions,
IProgressMonitor monitor)
Sets the permissions for a file including the user and group owner as specified in the permissions |
void |
IFileService.upload(InputStream stream,
String remoteParent,
String remoteFile,
boolean isBinary,
String hostEncoding,
IProgressMonitor monitor)
Copy a file to the remote file system. |
void |
IFileService.upload(File localFile,
String remoteParent,
String remoteFile,
boolean isBinary,
String srcEncoding,
String hostEncoding,
IProgressMonitor monitor)
Copy a file to the remote file system. |
void |
IFileService.uploadMultiple(File[] localFiles,
String[] remoteParents,
String[] remoteFiles,
boolean[] isBinary,
String[] srcEncodings,
String[] hostEncodings,
IProgressMonitor monitor)
Copy files to the remote file system. |
void |
IFileService.download(String remoteParent,
String remoteFile,
File localFile,
boolean isBinary,
String hostEncoding,
IProgressMonitor monitor)
Copy a file from the remote file system to the local system. |
void |
IFileService.downloadMultiple(String[] remoteParents,
String[] remoteFiles,
File[] localFiles,
boolean[] isBinary,
String[] hostEncodings,
IProgressMonitor monitor)
Copy files from the remote file system to the local system. |
IHostFile |
IFileService.getFile(String remoteParent,
String name,
IProgressMonitor monitor)
Get an abstract remote file handle for a specified path. |
IHostFile[] |
IFileService.list(String remoteParent,
String fileFilter,
int fileType,
IProgressMonitor monitor)
List the contents of a remote folder. |
void |
IFileService.getFileMultiple(String[] remoteParents,
String[] names,
List hostFiles,
IProgressMonitor monitor)
Get multiple abstract remote file handles for an array of specified paths. |
void |
IFileService.listMultiple(String[] remoteParents,
String[] fileFilters,
int[] fileTypes,
List hostFiles,
IProgressMonitor monitor)
List the contents of multiple remote folders. |
void |
IFileService.listMultiple(String[] remoteParents,
String[] fileFilters,
int fileType,
List hostFiles,
IProgressMonitor monitor)
List the contents of multiple remote folders. |
IHostFile[] |
IFileService.getRoots(IProgressMonitor monitor)
Get abstract remote file handles for the known remote file system roots. |
IHostFile |
IFileService.createFile(String remoteParent,
String fileName,
IProgressMonitor monitor)
Create a file on the host. |
IHostFile |
IFileService.createFolder(String remoteParent,
String folderName,
IProgressMonitor monitor)
Create a folder on the host. |
void |
IFileService.delete(String remoteParent,
String fileName,
IProgressMonitor monitor)
Delete a file or folder on the host. |
void |
IFileService.deleteBatch(String[] remoteParents,
String[] fileNames,
IProgressMonitor monitor)
Delete a set of files or folders on the host. |
void |
IFileService.rename(String remoteParent,
String oldName,
String newName,
IProgressMonitor monitor)
Rename a file or folder on the host. |
void |
IFileService.rename(String remoteParent,
String oldName,
String newName,
IHostFile oldFile,
IProgressMonitor monitor)
Rename a file or folder on the host. |
void |
IFileService.move(String srcParent,
String srcName,
String tgtParent,
String tgtName,
IProgressMonitor monitor)
Move the file or folder specified to a different remote path. |
void |
IFileService.copy(String srcParent,
String srcName,
String tgtParent,
String tgtName,
IProgressMonitor monitor)
Copy the file or folder to the specified destination. |
void |
IFileService.copyBatch(String[] srcParents,
String[] srcNames,
String tgtParent,
IProgressMonitor monitor)
Copy a set of files or folders to the specified destination. |
void |
IFileService.setLastModified(String parent,
String name,
long timestamp,
IProgressMonitor monitor)
Set the last modified stamp of the file or folder with the specified timestamp. |
void |
IFileService.setReadOnly(String parent,
String name,
boolean readOnly,
IProgressMonitor monitor)
Set the read-only permission of the specified file or folder. |
String |
IFileService.getEncoding(IProgressMonitor monitor)
Gets the remote encoding. |
InputStream |
IFileService.getInputStream(String remoteParent,
String remoteFile,
boolean isBinary,
IProgressMonitor monitor)
Get the input stream to access the contents a remote file. |
OutputStream |
IFileService.getOutputStream(String remoteParent,
String remoteFile,
boolean isBinary,
IProgressMonitor monitor)
Deprecated. Use IFileService.getOutputStream(String, String, int, IProgressMonitor)
instead |
OutputStream |
IFileService.getOutputStream(String remoteParent,
String remoteFile,
int options,
IProgressMonitor monitor)
Get the output stream to write/append to a remote file. |
protected IProgressMonitor |
AbstractFileService.progressTick(IProgressMonitor monitor)
Perform a single progress tick for default multi-operations, provided that a valid progress monitor is passed in: Checks the monitor for cancellation and throws SystemOperationCancelledException if it is Creates a SubMonitor for a single progress tick on the original monitor |
protected abstract IHostFile[] |
AbstractFileService.internalFetch(String parentPath,
String fileFilter,
int fileType,
IProgressMonitor monitor)
|
void |
AbstractFileService.getFileMultiple(String[] remoteParents,
String[] names,
List hostFiles,
IProgressMonitor monitor)
Get multiple abstract remote file handles for an array of specified paths.
If an error occurs during the retrieval an item, this operation stops on that item and a |
IHostFile[] |
AbstractFileService.list(String remoteParent,
String fileFilter,
int fileType,
IProgressMonitor monitor)
List the contents of a remote folder. |
void |
AbstractFileService.listMultiple(String[] remoteParents,
String[] fileFilters,
int[] fileTypes,
List hostFiles,
IProgressMonitor monitor)
List the contents of multiple remote folders.
If an error occurs during the retrieval of the contents of a folder, this operation stops on that folder and a |
void |
AbstractFileService.listMultiple(String[] remoteParents,
String[] fileFilters,
int fileType,
List hostFiles,
IProgressMonitor monitor)
List the contents of multiple remote folders.
If an error occurs during the retrieval of the contents of a folder, this operation stops on that folder and a |
void |
AbstractFileService.deleteBatch(String[] remoteParents,
String[] fileNames,
IProgressMonitor monitor)
Delete a set of files or folders on the host. Should throw an exception if some files and folders were deleted and others were not due to an exception during the operation. Without an exception thrown in such cases, views may not be refreshed correctly to account for deleted resources.
If an error occurs during the deletion of an item, this operation stops on that item and a |
void |
AbstractFileService.downloadMultiple(String[] remoteParents,
String[] remoteFiles,
File[] localFiles,
boolean[] isBinaries,
String[] hostEncodings,
IProgressMonitor monitor)
Copy files from the remote file system to the local system.
If an error occurs during the download of a file, this operation stops on that file and a |
void |
AbstractFileService.uploadMultiple(File[] localFiles,
String[] remoteParents,
String[] remoteFiles,
boolean[] isBinaries,
String[] srcEncodings,
String[] hostEncodings,
IProgressMonitor monitor)
Copy files to the remote file system. The remote target is denoted by strings representing the parents and strings representing the files.
If an error occurs during the upload of a file, this operation stops on that file and a |
String |
AbstractFileService.getEncoding(IProgressMonitor monitor)
Returns the local platform encoding by default. |
InputStream |
AbstractFileService.getInputStream(String remoteParent,
String remoteFile,
boolean isBinary,
IProgressMonitor monitor)
The default implementation returns null. |
OutputStream |
AbstractFileService.getOutputStream(String remoteParent,
String remoteFile,
boolean isBinary,
IProgressMonitor monitor)
Deprecated. use AbstractFileService.getOutputStream(String, String, int, IProgressMonitor)
instead |
OutputStream |
AbstractFileService.getOutputStream(String remoteParent,
String remoteFile,
int options,
IProgressMonitor monitor)
Gets the output stream to write/append to a remote file. |
| Uses of SystemMessageException in org.eclipse.rse.services.processes |
| Methods in org.eclipse.rse.services.processes that throw SystemMessageException | |
IHostProcess[] |
AbstractProcessService.listAllProcesses(String exeNameFilter,
String userNameFilter,
String stateFilter,
IProgressMonitor monitor)
|
IHostProcess[] |
AbstractProcessService.listAllProcesses(IProgressMonitor monitor)
|
IHostProcess[] |
AbstractProcessService.listRootProcesses(IProgressMonitor monitor)
Return a single IHostProcess object for the 'init' process with pid 1. |
IHostProcess[] |
AbstractProcessService.listChildProcesses(long parentPID,
IProgressMonitor monitor)
|
IHostProcess[] |
AbstractProcessService.listChildProcesses(long parentPID,
IHostProcessFilter filter,
IProgressMonitor monitor)
|
IHostProcess |
AbstractProcessService.getParentProcess(long pid,
IProgressMonitor monitor)
|
IHostProcess |
AbstractProcessService.getProcess(long pid,
IProgressMonitor monitor)
|
IHostProcess[] |
IProcessService.listAllProcesses(IProgressMonitor monitor)
Return a list of all processes on the remote system. |
IHostProcess[] |
IProcessService.listAllProcesses(IHostProcessFilter filter,
IProgressMonitor monitor)
Return a filtered list of all processes on the remote system. |
IHostProcess[] |
IProcessService.listAllProcesses(String exeNameFilter,
String userNameFilter,
String stateFilter,
IProgressMonitor monitor)
Return a filtered list of all processes on the remote system. |
IHostProcess[] |
IProcessService.listRootProcesses(IProgressMonitor monitor)
Returns root processes on the remote system |
IHostProcess[] |
IProcessService.listChildProcesses(long parentPID,
IProgressMonitor monitor)
Return a list of all remote child processes of the given parent process on the remote system |
IHostProcess[] |
IProcessService.listChildProcesses(long parentPID,
IHostProcessFilter filter,
IProgressMonitor monitor)
Return a filtered list of remote child processes of the given parent process on the remote system |
IHostProcess |
IProcessService.getParentProcess(long pid,
IProgressMonitor monitor)
Given a process, return its parent process object. |
IHostProcess |
IProcessService.getProcess(long pid,
IProgressMonitor monitor)
Given a pid, return an IHostProcess object for it. |
boolean |
IProcessService.kill(long pid,
String signal,
IProgressMonitor monitor)
Kills a process. |
| Uses of SystemMessageException in org.eclipse.rse.services.shells |
| Methods in org.eclipse.rse.services.shells that throw SystemMessageException | |
IHostShell |
IShellService.launchShell(String initialWorkingDirectory,
String[] environment,
IProgressMonitor monitor)
Launch a new shell in the specified directory with a default encoding. |
IHostShell |
IShellService.launchShell(String initialWorkingDirectory,
String encoding,
String[] environment,
IProgressMonitor monitor)
Launch a new shell in the specified directory. |
IHostShell |
IShellService.runCommand(String initialWorkingDirectory,
String command,
String[] environment,
IProgressMonitor monitor)
Run a single command in it's own shell with a default encoding. |
IHostShell |
IShellService.runCommand(String initialWorkingDirectory,
String command,
String encoding,
String[] environment,
IProgressMonitor monitor)
Run a single command in it's own shell. |
String[] |
IShellService.getHostEnvironment()
Return an array of environment variables that describe the environment on the remote system. |
String[] |
AbstractShellService.getHostEnvironment()
Return an empty host environment. |
IHostShell |
AbstractShellService.launchShell(String initialWorkingDirectory,
String[] environment,
IProgressMonitor monitor)
|
IHostShell |
AbstractShellService.runCommand(String initialWorkingDirectory,
String command,
String[] environment,
IProgressMonitor monitor)
|
| Uses of SystemMessageException in org.eclipse.rse.subsystems.files.core.servicesubsystem |
| Methods in org.eclipse.rse.subsystems.files.core.servicesubsystem that throw SystemMessageException | |
IRemoteFile |
FileServiceSubSystem.getRemoteFileObject(IRemoteFile parent,
String folderOrFileName,
IProgressMonitor monitor)
Constructs an IRemoteFile object given an unqualified file or folder name and its parent folder object. |
IRemoteFile |
FileServiceSubSystem.getRemoteFileObject(String folderOrFileName,
IProgressMonitor monitor)
Constructs and returns an IRemoteFile object given a fully-qualified file or folder name. |
protected IHostFile[] |
FileServiceSubSystem.internalList(String parentPath,
String fileNameFilter,
int fileType,
IProgressMonitor monitor)
Return a list of children from the given parent path in service layer format. |
protected IHostFile |
FileServiceSubSystem.getFile(String parentPath,
String fileName,
IProgressMonitor monitor)
|
protected IHostFile[] |
FileServiceSubSystem.getRoots(IProgressMonitor monitor)
|
IRemoteFile[] |
FileServiceSubSystem.getRemoteFileObjects(String[] folderOrFileNames,
IProgressMonitor monitor)
|
IRemoteFile[] |
FileServiceSubSystem.listMultiple(IRemoteFile[] parents,
String[] fileNameFilters,
int[] fileTypes,
IProgressMonitor monitor)
Return a list of remote folders and/or files in the given folder. Only file names are filtered by the given file name filters. It can be null for no sub-setting. |
IRemoteFile[] |
FileServiceSubSystem.listMultiple(IRemoteFile[] parents,
String[] fileNameFilters,
int fileType,
IProgressMonitor monitor)
Return a list of remote folders and/or files in the given folder. Only file names are filtered by the given file name filters. It can be null for no sub-setting. |
IRemoteFile[] |
FileServiceSubSystem.list(IRemoteFile parent,
String fileNameFilter,
IRemoteFileContext context,
int fileType,
IProgressMonitor monitor)
Return a list of remote folders and/or files in the given folder. The files part of the list is filtered by the given file name filter. It can be null for no filtering. |
void |
FileServiceSubSystem.upload(String source,
String srcEncoding,
String remotePath,
String rmtEncoding,
IProgressMonitor monitor)
|
void |
FileServiceSubSystem.upload(String source,
IRemoteFile destination,
String encoding,
IProgressMonitor monitor)
|
void |
FileServiceSubSystem.uploadMultiple(String[] sources,
String[] srcEncodings,
String[] remotePaths,
String[] rmtEncodings,
IProgressMonitor monitor)
Put the local copies of the remote files to the remote locations. The files are assumed to be in the encodings of the local operating system, with two exceptions:
|
void |
FileServiceSubSystem.uploadMultiple(String[] sources,
IRemoteFile[] destinations,
String[] encodings,
IProgressMonitor monitor)
Put the local copies of the remote files to the remote locations. The files are assumed to be in the encodings specified, with two exceptions:
|
void |
FileServiceSubSystem.download(IRemoteFile file,
String localpath,
String encoding,
IProgressMonitor monitor)
|
void |
FileServiceSubSystem.downloadMultiple(IRemoteFile[] sources,
String[] destinations,
String[] encodings,
IProgressMonitor monitor)
Get the remote files and save them locally. The files are saved in the encodings specified, with two exceptions:
|
void |
FileServiceSubSystem.copy(IRemoteFile sourceFolderOrFile,
IRemoteFile targetFolder,
String newName,
IProgressMonitor monitor)
Copy a file or folder to a new target parent folder. |
void |
FileServiceSubSystem.copyBatch(IRemoteFile[] sourceFolderOrFiles,
IRemoteFile targetFolder,
IProgressMonitor monitor)
Copy a set of remote files or folders to a new target parent folder. Precondition: Sources and target must all be on the same system.
If an error occurs during the copy of an item, this operation stops on that item and a |
IRemoteFile |
FileServiceSubSystem.createFile(IRemoteFile fileToCreate,
IProgressMonitor monitor)
|
IRemoteFile |
FileServiceSubSystem.createFolder(IRemoteFile folderToCreate,
IProgressMonitor monitor)
|
IRemoteFile |
FileServiceSubSystem.createFolders(IRemoteFile folderToCreate,
IProgressMonitor monitor)
|
void |
FileServiceSubSystem.delete(IRemoteFile folderOrFile,
IProgressMonitor monitor)
Delete the given remote file or folder.
|
void |
FileServiceSubSystem.deleteBatch(IRemoteFile[] folderOrFiles,
IProgressMonitor monitor)
Delete the given batch of remote file or folder.
If an error occurs during the deletion of an item, this operation stops on that item and a |
void |
FileServiceSubSystem.rename(IRemoteFile folderOrFile,
String newName,
IProgressMonitor monitor)
Rename the given remote file or folder. This renames it in memory and, iff it exists, on disk. |
void |
FileServiceSubSystem.move(IRemoteFile sourceFolderOrFile,
IRemoteFile targetFolder,
String newName,
IProgressMonitor monitor)
Move a file or folder to a new target parent folder. |
void |
FileServiceSubSystem.setLastModified(IRemoteFile folderOrFile,
long newDate,
IProgressMonitor monitor)
Set the last modified date for the given file or folder. Like a Unix "touch" operation. Folder or file must exist on disk for this to succeed. |
void |
FileServiceSubSystem.setReadOnly(IRemoteFile folderOrFile,
boolean readOnly,
IProgressMonitor monitor)
Set a files read-only permissions. Folder or file must exist on disk for this to succeed. |
InputStream |
FileServiceSubSystem.getInputStream(String remoteParent,
String remoteFile,
boolean isBinary,
IProgressMonitor monitor)
Gets the input stream to access the contents a remote file. Clients should close the input stream when done. Implementations should not return null. Defers to the file service. |
OutputStream |
FileServiceSubSystem.getOutputStream(String remoteParent,
String remoteFile,
boolean isBinary,
IProgressMonitor monitor)
Deprecated. Use FileServiceSubSystem.getOutputStream(String, String, int, IProgressMonitor)
instead |
OutputStream |
FileServiceSubSystem.getOutputStream(String remoteParent,
String remoteFile,
int options,
IProgressMonitor monitor)
Gets the output stream to write/append to a remote file. Clients should close the output stream when done. Implementations should not return null. |
| Uses of SystemMessageException in org.eclipse.rse.subsystems.files.core.subsystems |
| Methods in org.eclipse.rse.subsystems.files.core.subsystems that throw SystemMessageException | |
IRemoteFile[] |
IRemoteFileSubSystem.listRoots(IProgressMonitor monitor)
Return a list of roots/drives on the remote system. |
IRemoteFile[] |
IRemoteFileSubSystem.listMultiple(IRemoteFile[] parents,
int[] fileTypes,
IProgressMonitor monitor)
Return a list of all remote folders and/or files in the given folders. |
IRemoteFile[] |
IRemoteFileSubSystem.listMultiple(IRemoteFile[] parents,
String[] fileNameFilters,
int[] fileTypes,
IProgressMonitor monitor)
Return a list of remote folders and/or files in the given folder. |
IRemoteFile[] |
IRemoteFileSubSystem.listMultiple(IRemoteFile[] parents,
int fileType,
IProgressMonitor monitor)
Return a list of all remote folders and/or files in the given folders. |
IRemoteFile[] |
IRemoteFileSubSystem.listMultiple(IRemoteFile[] parents,
String[] fileNameFilters,
int fileType,
IProgressMonitor monitor)
Return a list of remote folders and/or files in the given folder. |
IRemoteFile[] |
IRemoteFileSubSystem.list(IRemoteFile parent,
IProgressMonitor monitor)
Return a list of all remote folders and/or files in the given folder. |
IRemoteFile[] |
IRemoteFileSubSystem.list(IRemoteFile parent,
int fileType,
IProgressMonitor monitor)
Return a list of all remote folders and/or files in the given folder. |
IRemoteFile[] |
IRemoteFileSubSystem.list(IRemoteFile parent,
String fileNameFilter,
int fileType,
IProgressMonitor monitor)
Return a list of remote folders and/or files in the given folder. |
IRemoteFile[] |
IRemoteFileSubSystem.list(IRemoteFile parent,
String fileNameFilter,
IRemoteFileContext context,
int fileType,
IProgressMonitor monitor)
Return a list of remote folders and/or files in the given folder. |
IRemoteFile[] |
IRemoteFileSubSystem.getRemoteFileObjects(String[] folderOrFileNames,
IProgressMonitor monitor)
Given a set of fully qualified file or folder names, return an ISystemResourceSet object for it. |
IRemoteFile |
IRemoteFileSubSystem.getRemoteFileObject(String folderOrFileName,
IProgressMonitor monitor)
Given a fully qualified file or folder name, return an IRemoteFile object for it. |
IRemoteFile |
IRemoteFileSubSystem.getRemoteFileObject(IRemoteFile parent,
String folderOrFileName,
IProgressMonitor monitor)
Given a un-qualified file or folder name, and its parent folder object, return an IRemoteFile object for the file. |
IRemoteSearchResult |
IRemoteFileSubSystem.getRemoteSearchResultObject(String key)
Given a key, returns a search result object for it. |
IRemoteFile |
IRemoteFileSubSystem.createFile(IRemoteFile fileToCreate,
IProgressMonitor monitor)
Create a new file, given its IRemoteFile object (these do not have to represent existing files). |
IRemoteFile |
IRemoteFileSubSystem.createFolder(IRemoteFile folderToCreate,
IProgressMonitor monitor)
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 |
IRemoteFileSubSystem.createFolders(IRemoteFile folderToCreate,
IProgressMonitor monitor)
Given an IRemoteFile for a folder, this will create that folder and any missing parent folders in its path. |
void |
IRemoteFileSubSystem.delete(IRemoteFile folderOrFile,
IProgressMonitor monitor)
Delete the given remote file or folder. |
void |
IRemoteFileSubSystem.deleteBatch(IRemoteFile[] folderOrFiles,
IProgressMonitor monitor)
Delete the given batch of remote file or folder. |
void |
IRemoteFileSubSystem.rename(IRemoteFile folderOrFile,
String newName,
IProgressMonitor monitor)
Rename the given remote file or folder. |
void |
IRemoteFileSubSystem.move(IRemoteFile sourceFolderOrFile,
IRemoteFile targetFolder,
String newName,
IProgressMonitor monitor)
Move a file or folder to a new target parent folder. |
void |
IRemoteFileSubSystem.setLastModified(IRemoteFile folderOrFile,
long newDate,
IProgressMonitor monitor)
Set the last modified date for the given file or folder. |
void |
IRemoteFileSubSystem.setReadOnly(IRemoteFile folderOrFile,
boolean readOnly,
IProgressMonitor monitor)
Set a files read-only permissions. |
void |
IRemoteFileSubSystem.copy(IRemoteFile sourceFolderOrFile,
IRemoteFile targetFolder,
String newName,
IProgressMonitor monitor)
Copy a file or folder to a new target parent folder. |
void |
IRemoteFileSubSystem.copyBatch(IRemoteFile[] sourceFolderOrFile,
IRemoteFile targetFolder,
IProgressMonitor monitor)
Copy a set of remote files or folders to a new target parent folder. |
void |
IRemoteFileSubSystem.download(IRemoteFile source,
String destination,
String encoding,
IProgressMonitor monitor)
Get the remote file and save it locally. |
void |
IRemoteFileSubSystem.downloadMultiple(IRemoteFile[] sources,
String[] destinations,
String[] encodings,
IProgressMonitor monitor)
Get the remote files and save them locally. |
void |
IRemoteFileSubSystem.upload(String source,
IRemoteFile destination,
String encoding,
IProgressMonitor monitor)
Put the local copy of the remote file back to the remote location. |
void |
IRemoteFileSubSystem.upload(String source,
String srcEncoding,
String remotePath,
String rmtEncoding,
IProgressMonitor monitor)
Put the local copy of the remote file back to the remote location. |
void |
IRemoteFileSubSystem.uploadMultiple(String[] sources,
IRemoteFile[] destinations,
String[] encodings,
IProgressMonitor monitor)
Put the local copies of the remote files to the remote locations. |
void |
IRemoteFileSubSystem.uploadMultiple(String[] sources,
String[] srcEncodings,
String[] remotePaths,
String[] rmtEncodings,
IProgressMonitor monitor)
Put the local copies of the remote files to the remote locations. |
InputStream |
IRemoteFileSubSystem.getInputStream(String remoteParent,
String remoteFile,
boolean isBinary,
IProgressMonitor monitor)
Gets the input stream to access the contents a remote file. |
OutputStream |
IRemoteFileSubSystem.getOutputStream(String remoteParent,
String remoteFile,
boolean isBinary,
IProgressMonitor monitor)
Deprecated. Use IRemoteFileSubSystem.getOutputStream(String, String, int, IProgressMonitor) instead |
OutputStream |
IRemoteFileSubSystem.getOutputStream(String remoteParent,
String remoteFile,
int options,
IProgressMonitor monitor)
Gets the output stream to write/append to a remote file. |
protected Object[] |
RemoteFileSubSystem.internalResolveOneFilterString(Object parent,
RemoteFileFilterString fs,
boolean sort,
IProgressMonitor monitor)
Do one filter string relative resolve |
IRemoteFile[] |
RemoteFileSubSystem.listMultiple(IRemoteFile[] parents,
int[] fileTypes,
IProgressMonitor monitor)
Return a list of all remote folders and files in the given folder. |
IRemoteFile[] |
RemoteFileSubSystem.listMultiple(IRemoteFile[] parents,
int fileType,
IProgressMonitor monitor)
Return a list of all remote folders and files in the given folder. |
IRemoteFile[] |
RemoteFileSubSystem.list(IRemoteFile parent,
IProgressMonitor monitor)
Return a list of all remote folders and files in the given folder. |
IRemoteFile[] |
RemoteFileSubSystem.list(IRemoteFile parent,
int fileType,
IProgressMonitor monitor)
Return a list of all remote folders and files in the given folder. |
IRemoteFile[] |
RemoteFileSubSystem.list(IRemoteFile parent,
String fileNameFilter,
int fileType,
IProgressMonitor monitor)
Return a list of remote folders and files in the given folder. |
IRemoteSearchResult |
RemoteFileSubSystem.getRemoteSearchResultObject(String key)
|
IRemoteFile[] |
RemoteFileSubSystem.getRemoteFileObjects(String[] folderOrFileNames,
IProgressMonitor monitor)
Given a set of fully qualified file or folder names, return an ISystemResourceSet object for it. |
| Uses of SystemMessageException in org.eclipse.rse.subsystems.processes.core.subsystem |
| Methods in org.eclipse.rse.subsystems.processes.core.subsystem that throw SystemMessageException | |
IRemoteProcess[] |
IRemoteProcessSubSystem.listAllProcesses(IHostProcessFilter processNameFilter,
IRemoteProcessContext context,
IProgressMonitor monitor)
Return a list of all processes on the remote system. |
IRemoteProcess[] |
IRemoteProcessSubSystem.listChildProcesses(IRemoteProcess parent,
IRemoteProcessContext context,
IProgressMonitor monitor)
Return a list of all remote child processes of the given parent process on the remote system |
IRemoteProcess[] |
IRemoteProcessSubSystem.listChildProcesses(IRemoteProcess parent,
IHostProcessFilter processFilter,
IRemoteProcessContext context,
IProgressMonitor monitor)
Return a list of remote child processes of the given process, which match the filter. |
IRemoteProcess |
IRemoteProcessSubSystem.getRemoteProcessObject(long pid)
Given a pid, return an IRemoteProcess object for it. |
boolean |
IRemoteProcessSubSystem.kill(IRemoteProcess process,
String signal)
Kill the given process. |
String[] |
IRemoteProcessSubSystem.getSignalTypes()
Returns a list of the types of signals that can be sent to a process on the remote system. |
| Uses of SystemMessageException in org.eclipse.rse.subsystems.processes.servicesubsystem |
| Methods in org.eclipse.rse.subsystems.processes.servicesubsystem that throw SystemMessageException | |
IRemoteProcess |
ProcessServiceSubSystem.getRemoteProcessObject(long pid)
Returns the IRemoteProcess representing the process on the remote machine that has a certain pid. |
String[] |
ProcessServiceSubSystem.getSignalTypes()
|
boolean |
ProcessServiceSubSystem.kill(IRemoteProcess process,
String signal)
|
IRemoteProcess[] |
ProcessServiceSubSystem.listAllProcesses(IHostProcessFilter processFilter,
IRemoteProcessContext context,
IProgressMonitor monitor)
|
IRemoteProcess[] |
ProcessServiceSubSystem.listChildProcesses(IRemoteProcess parent,
IHostProcessFilter processFilter,
IRemoteProcessContext context,
IProgressMonitor monitor)
|
IRemoteProcess[] |
ProcessServiceSubSystem.listChildProcesses(IRemoteProcess parent,
IRemoteProcessContext context,
IProgressMonitor monitor)
|
| Uses of SystemMessageException in org.eclipse.rse.subsystems.shells.core.subsystems |
| Methods in org.eclipse.rse.subsystems.shells.core.subsystems that throw SystemMessageException | |
protected Object[] |
RemoteCmdSubSystem.internalRunCommand(String cmd,
Object context,
IProgressMonitor monitor)
Runs a remote command. |
protected Object[] |
RemoteCmdSubSystem.internalRunCommand(String cmd,
Object context,
boolean interpretOutput,
IProgressMonitor monitor)
Runs a remote command and interprets any resulting output. |
protected IRemoteCommandShell |
RemoteCmdSubSystem.internalRunShell(Object context,
IProgressMonitor monitor)
Establishes a new shell. |
| Uses of SystemMessageException in org.eclipse.rse.subsystems.shells.core.subsystems.servicesubsystem |
| Methods in org.eclipse.rse.subsystems.shells.core.subsystems.servicesubsystem that throw SystemMessageException | |
protected Object[] |
ShellServiceSubSystem.internalRunCommand(String cmd,
Object context,
IProgressMonitor monitor)
|
protected Object[] |
ShellServiceSubSystem.internalRunCommand(String cmd,
Object context,
boolean interpretOutput,
IProgressMonitor monitor)
|
protected IRemoteCommandShell |
ShellServiceSubSystem.internalRunShell(Object context,
IProgressMonitor monitor)
|
| Uses of SystemMessageException in org.eclipse.rse.ui.actions |
| Methods in org.eclipse.rse.ui.actions with parameters of type SystemMessageException | |
protected void |
SystemBaseCopyAction.showOperationErrorMessage(Shell shell,
SystemMessageException exc)
Show an error message when the operation fails. |
| Uses of SystemMessageException in org.eclipse.rse.ui.messages |
| Methods in org.eclipse.rse.ui.messages with parameters of type SystemMessageException | |
static void |
SystemMessageDialog.displayMessage(Shell shell,
SystemMessageException msgEx)
Display this wrapped system message to the user |
static void |
SystemMessageDialog.displayMessage(SystemMessageException msgEx)
Display this wrapped system message to the user |
| Constructors in org.eclipse.rse.ui.messages with parameters of type SystemMessageException | |
SystemMessageStatus(SystemMessageException exception)
|
|
| Uses of SystemMessageException in org.eclipse.rse.ui.operations |
| Methods in org.eclipse.rse.ui.operations with parameters of type SystemMessageException | |
protected void |
SystemFetchOperation.displayAsyncMsg(SubSystem ss,
SystemMessageException msg)
Display message on message thread |
|
RSE Release 3.0 |
||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||