|
S-PLUS Connect/Java v1.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.filechooser.FileSystemView
com.insightful.splus.client.ServerFileSystemView
Object representing the file system on the server.
This supports viewing the server file system in a JFileChooser displayed
on a client in client/server mode. It performs file system queries
on the server via S-PLUS commands.
Constructor Summary | |
ServerFileSystemView()
Create the ServerFileSystemView. |
|
ServerFileSystemView(ClientUtilities utils)
Create the ServerFileSystemView. |
Method Summary | |
ServerFile[] |
clientSideFileInfoQuery(String dirName,
boolean useFileHiding)
|
ServerFile[] |
clientSideFileInfoQuery(String fileOrDir,
boolean lookInDir,
boolean useFileHiding)
|
File |
createFileObject(File dir,
String filename)
Create a ServerFile. |
File |
createFileObject(String path)
Create a ServerFile. |
protected File |
createFileSystemRoot(File f)
|
File |
createNewFolder(File containingDir)
Create a directory on the server. |
File |
getChild(File parent,
String fileName)
|
File |
getDefaultDirectory()
|
File[] |
getFiles(File dir,
boolean useFileHiding)
Get an array of ServerFile objects for the files in a directory. |
File |
getHomeDirectory()
|
File |
getParentDirectory(File dir)
|
File[] |
getRoots()
|
String |
getSystemDisplayName(File f)
|
Icon |
getSystemIcon(File f)
|
String |
getSystemTypeDescription(File f)
|
boolean |
isComputerNode(File dir)
|
boolean |
isDrive(File dir)
|
boolean |
isFileSystem(File f)
|
boolean |
isFileSystemRoot(File f)
|
boolean |
isFloppyDrive(File f)
|
boolean |
isHiddenFile(File f)
|
boolean |
isParent(File folder,
File file)
|
boolean |
isRoot(File f)
|
Boolean |
isTraversable(File f)
|
static String[] |
serverSideFileInfoQuery(String fileOrDir,
boolean lookInDir,
boolean useFileHiding)
|
Methods inherited from class javax.swing.filechooser.FileSystemView |
getFileSystemView |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ServerFileSystemView()
public ServerFileSystemView(ClientUtilities utils)
Method Detail |
public File createFileObject(String path)
public File createFileObject(File dir, String filename)
public File createNewFolder(File containingDir) throws IOException
IOException
public File[] getFiles(File dir, boolean useFileHiding)
public File getHomeDirectory()
public File getParentDirectory(File dir)
public File[] getRoots()
public boolean isHiddenFile(File f)
public boolean isRoot(File f)
protected File createFileSystemRoot(File f)
public File getChild(File parent, String fileName)
public File getDefaultDirectory()
public String getSystemDisplayName(File f)
public Icon getSystemIcon(File f)
public String getSystemTypeDescription(File f)
public boolean isComputerNode(File dir)
public boolean isDrive(File dir)
public boolean isFileSystem(File f)
public boolean isFileSystemRoot(File f)
public boolean isFloppyDrive(File f)
public boolean isParent(File folder, File file)
public Boolean isTraversable(File f)
public ServerFile[] clientSideFileInfoQuery(String dirName, boolean useFileHiding)
public ServerFile[] clientSideFileInfoQuery(String fileOrDir, boolean lookInDir, boolean useFileHiding)
public static String[] serverSideFileInfoQuery(String fileOrDir, boolean lookInDir, boolean useFileHiding)
|
S-PLUS Connect/Java v1.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |