org.sonatype.gshell.file
Interface FileSystemAccess

All Known Implementing Classes:
FileSystemAccessImpl

public interface FileSystemAccess

Provides access to the file system.

Since:
2.3
Author:
Jason Dillon

Method Summary
 File getShellHomeDir()
           
 File getUserDir()
           
 File getUserHomeDir()
           
 boolean hasChildren(File file)
           
 File resolveDir(String name)
           
 File resolveFile(File baseDir, String path)
           
 File resolveFile(String path)
           
 

Method Detail

resolveDir

File resolveDir(String name)
                throws IOException
Throws:
IOException

getShellHomeDir

File getShellHomeDir()
                     throws IOException
Throws:
IOException

getUserDir

File getUserDir()
                throws IOException
Throws:
IOException

getUserHomeDir

File getUserHomeDir()
                    throws IOException
Throws:
IOException

resolveFile

File resolveFile(File baseDir,
                 String path)
                 throws IOException
Throws:
IOException

resolveFile

File resolveFile(String path)
                 throws IOException
Throws:
IOException

hasChildren

boolean hasChildren(File file)


Copyright © 2008-2011 Sonatype. All Rights Reserved.