SRJRCFrames
v0.1.296

de.schwarzrot.ui.control
Class RemoteFileSystemView

java.lang.Object
  extended by javax.swing.filechooser.FileSystemView
      extended by de.schwarzrot.ui.control.RemoteFileSystemView

public class RemoteFileSystemView
extends FileSystemView


Field Summary
protected static String DEFAULT_NEW_FOLDERNAME
           
 
Constructor Summary
RemoteFileSystemView()
           
 
Method Summary
 File createFileObject(File dir, String filename)
           
 File createFileObject(String path)
           
protected  File createFileSystemRoot(File f)
           
 File createNewFolder(File containingDir)
           
 File getChild(File directory, String fileName)
           
 File getDefaultDirectory()
           
 File[] getFiles(File dir, boolean useFileHiding)
           
 File getHomeDirectory()
           
protected  org.apache.commons.logging.Log getLogger()
           
 File getParentDirectory(File file)
           
 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 dir)
           
 boolean isFloppyDrive(File dir)
           
 boolean isHiddenFile(File f)
           
 boolean isParent(File folder, File file)
           
 boolean isRoot(File f)
           
 Boolean isTraversable(File f)
           
 
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
 

Field Detail

DEFAULT_NEW_FOLDERNAME

protected static final String DEFAULT_NEW_FOLDERNAME
See Also:
Constant Field Values
Constructor Detail

RemoteFileSystemView

public RemoteFileSystemView()
Method Detail

createFileObject

public File createFileObject(File dir,
                             String filename)
Overrides:
createFileObject in class FileSystemView

createFileObject

public File createFileObject(String path)
Overrides:
createFileObject in class FileSystemView

createNewFolder

public File createNewFolder(File containingDir)
                     throws IOException
Specified by:
createNewFolder in class FileSystemView
Throws:
IOException

getChild

public File getChild(File directory,
                     String fileName)
Overrides:
getChild in class FileSystemView

getDefaultDirectory

public File getDefaultDirectory()
Overrides:
getDefaultDirectory in class FileSystemView

getFiles

public File[] getFiles(File dir,
                       boolean useFileHiding)
Overrides:
getFiles in class FileSystemView

getHomeDirectory

public File getHomeDirectory()
Overrides:
getHomeDirectory in class FileSystemView

getParentDirectory

public File getParentDirectory(File file)
Overrides:
getParentDirectory in class FileSystemView

getRoots

public File[] getRoots()
Overrides:
getRoots in class FileSystemView

getSystemDisplayName

public String getSystemDisplayName(File f)
Overrides:
getSystemDisplayName in class FileSystemView

getSystemIcon

public Icon getSystemIcon(File f)
Overrides:
getSystemIcon in class FileSystemView

getSystemTypeDescription

public String getSystemTypeDescription(File f)
Overrides:
getSystemTypeDescription in class FileSystemView

isComputerNode

public boolean isComputerNode(File dir)
Overrides:
isComputerNode in class FileSystemView

isDrive

public boolean isDrive(File dir)
Overrides:
isDrive in class FileSystemView

isFileSystem

public boolean isFileSystem(File f)
Overrides:
isFileSystem in class FileSystemView

isFileSystemRoot

public boolean isFileSystemRoot(File dir)
Overrides:
isFileSystemRoot in class FileSystemView

isFloppyDrive

public boolean isFloppyDrive(File dir)
Overrides:
isFloppyDrive in class FileSystemView

isHiddenFile

public boolean isHiddenFile(File f)
Overrides:
isHiddenFile in class FileSystemView

isParent

public boolean isParent(File folder,
                        File file)
Overrides:
isParent in class FileSystemView

isRoot

public boolean isRoot(File f)
Overrides:
isRoot in class FileSystemView

isTraversable

public Boolean isTraversable(File f)
Overrides:
isTraversable in class FileSystemView

createFileSystemRoot

protected File createFileSystemRoot(File f)
Overrides:
createFileSystemRoot in class FileSystemView

getLogger

protected final org.apache.commons.logging.Log getLogger()

SRJRCFrames
v0.1.296

hosted at
Find SRJRCFrames at SourceForge.net. Fast, secure and free:
           Open Source Software download
Submit a bug or request a feature

SRJRCFrames is published according to the GNU General Public License
Copyright 2005-2012 Reinhard Mantey - some rights reserved.