|
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
public class 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)
createFileObject in class FileSystemView
public File createFileObject(File dir,
String filename)
createFileObject in class FileSystemView
public File createNewFolder(File containingDir)
throws IOException
createNewFolder in class FileSystemViewIOException
public File[] getFiles(File dir,
boolean useFileHiding)
getFiles in class FileSystemViewpublic File getHomeDirectory()
getHomeDirectory in class FileSystemViewpublic File getParentDirectory(File dir)
getParentDirectory in class FileSystemViewpublic File[] getRoots()
getRoots in class FileSystemViewpublic boolean isHiddenFile(File f)
isHiddenFile in class FileSystemViewpublic boolean isRoot(File f)
isRoot in class FileSystemViewprotected File createFileSystemRoot(File f)
createFileSystemRoot in class FileSystemView
public File getChild(File parent,
String fileName)
getChild in class FileSystemViewpublic File getDefaultDirectory()
getDefaultDirectory in class FileSystemViewpublic String getSystemDisplayName(File f)
getSystemDisplayName in class FileSystemViewpublic Icon getSystemIcon(File f)
getSystemIcon in class FileSystemViewpublic String getSystemTypeDescription(File f)
getSystemTypeDescription in class FileSystemViewpublic boolean isComputerNode(File dir)
isComputerNode in class FileSystemViewpublic boolean isDrive(File dir)
isDrive in class FileSystemViewpublic boolean isFileSystem(File f)
isFileSystem in class FileSystemViewpublic boolean isFileSystemRoot(File f)
isFileSystemRoot in class FileSystemViewpublic boolean isFloppyDrive(File f)
isFloppyDrive in class FileSystemView
public boolean isParent(File folder,
File file)
isParent in class FileSystemViewpublic Boolean isTraversable(File f)
isTraversable in class FileSystemView
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 | |||||||