public class FileSystemAccessImpl extends Object implements FileSystemAccess
FileSystemAccess component.| Constructor and Description |
|---|
FileSystemAccessImpl(javax.inject.Provider<Variables> variables) |
| Modifier and Type | Method and Description |
|---|---|
File |
getShellHomeDir() |
File |
getUserDir() |
File |
getUserHomeDir() |
boolean |
hasChildren(File file) |
File |
resolveDir(String name) |
File |
resolveFile(File baseDir,
String path) |
File |
resolveFile(String path) |
@Inject public FileSystemAccessImpl(javax.inject.Provider<Variables> variables)
public File resolveDir(String name) throws IOException
resolveDir in interface FileSystemAccessIOExceptionpublic File getShellHomeDir() throws IOException
getShellHomeDir in interface FileSystemAccessIOExceptionpublic File getUserDir() throws IOException
getUserDir in interface FileSystemAccessIOExceptionpublic File getUserHomeDir() throws IOException
getUserHomeDir in interface FileSystemAccessIOExceptionpublic File resolveFile(File baseDir, String path) throws IOException
resolveFile in interface FileSystemAccessIOExceptionpublic File resolveFile(String path) throws IOException
resolveFile in interface FileSystemAccessIOExceptionpublic boolean hasChildren(File file)
hasChildren in interface FileSystemAccessCopyright © 2008-2012 Sonatype. All Rights Reserved.