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