org.pentaho.platform.repository.solution.filebased
Class SolutionRepositoryVfsFileObject
java.lang.Object
org.pentaho.platform.repository.solution.filebased.SolutionRepositoryVfsFileObject
- All Implemented Interfaces:
- org.apache.commons.vfs.FileObject
public class SolutionRepositoryVfsFileObject
- extends Object
- implements org.apache.commons.vfs.FileObject
SolutionRepositoryVfsFileObject
public SolutionRepositoryVfsFileObject(String fileRef,
ISolutionRepository repository)
SolutionRepositoryVfsFileObject
public SolutionRepositoryVfsFileObject(String fileRef,
ISolutionRepository repository,
org.apache.commons.vfs.FileType type)
getRepository
public ISolutionRepository getRepository()
getFileRef
public String getFileRef()
getName
public org.apache.commons.vfs.FileName getName()
- Specified by:
getName in interface org.apache.commons.vfs.FileObject
getURL
public URL getURL()
throws org.apache.commons.vfs.FileSystemException
- Specified by:
getURL in interface org.apache.commons.vfs.FileObject
- Throws:
org.apache.commons.vfs.FileSystemException
exists
public boolean exists()
throws org.apache.commons.vfs.FileSystemException
- Specified by:
exists in interface org.apache.commons.vfs.FileObject
- Throws:
org.apache.commons.vfs.FileSystemException
isHidden
public boolean isHidden()
throws org.apache.commons.vfs.FileSystemException
- Specified by:
isHidden in interface org.apache.commons.vfs.FileObject
- Throws:
org.apache.commons.vfs.FileSystemException
isReadable
public boolean isReadable()
throws org.apache.commons.vfs.FileSystemException
- Specified by:
isReadable in interface org.apache.commons.vfs.FileObject
- Throws:
org.apache.commons.vfs.FileSystemException
isWriteable
public boolean isWriteable()
throws org.apache.commons.vfs.FileSystemException
- Specified by:
isWriteable in interface org.apache.commons.vfs.FileObject
- Throws:
org.apache.commons.vfs.FileSystemException
getType
public org.apache.commons.vfs.FileType getType()
throws org.apache.commons.vfs.FileSystemException
- Specified by:
getType in interface org.apache.commons.vfs.FileObject
- Throws:
org.apache.commons.vfs.FileSystemException
getParent
public org.apache.commons.vfs.FileObject getParent()
throws org.apache.commons.vfs.FileSystemException
- Specified by:
getParent in interface org.apache.commons.vfs.FileObject
- Throws:
org.apache.commons.vfs.FileSystemException
getFileSystem
public org.apache.commons.vfs.FileSystem getFileSystem()
- Specified by:
getFileSystem in interface org.apache.commons.vfs.FileObject
getChildren
public org.apache.commons.vfs.FileObject[] getChildren()
throws org.apache.commons.vfs.FileSystemException
- Specified by:
getChildren in interface org.apache.commons.vfs.FileObject
- Throws:
org.apache.commons.vfs.FileSystemException
getChild
public org.apache.commons.vfs.FileObject getChild(String arg0)
throws org.apache.commons.vfs.FileSystemException
- Specified by:
getChild in interface org.apache.commons.vfs.FileObject
- Throws:
org.apache.commons.vfs.FileSystemException
resolveFile
public org.apache.commons.vfs.FileObject resolveFile(String arg0,
org.apache.commons.vfs.NameScope arg1)
throws org.apache.commons.vfs.FileSystemException
- Specified by:
resolveFile in interface org.apache.commons.vfs.FileObject
- Throws:
org.apache.commons.vfs.FileSystemException
resolveFile
public org.apache.commons.vfs.FileObject resolveFile(String arg0)
throws org.apache.commons.vfs.FileSystemException
- Specified by:
resolveFile in interface org.apache.commons.vfs.FileObject
- Throws:
org.apache.commons.vfs.FileSystemException
findFiles
public org.apache.commons.vfs.FileObject[] findFiles(org.apache.commons.vfs.FileSelector arg0)
throws org.apache.commons.vfs.FileSystemException
- Specified by:
findFiles in interface org.apache.commons.vfs.FileObject
- Throws:
org.apache.commons.vfs.FileSystemException
findFiles
public void findFiles(org.apache.commons.vfs.FileSelector arg0,
boolean arg1,
List arg2)
throws org.apache.commons.vfs.FileSystemException
- Specified by:
findFiles in interface org.apache.commons.vfs.FileObject
- Throws:
org.apache.commons.vfs.FileSystemException
delete
public boolean delete()
throws org.apache.commons.vfs.FileSystemException
- Specified by:
delete in interface org.apache.commons.vfs.FileObject
- Throws:
org.apache.commons.vfs.FileSystemException
delete
public int delete(org.apache.commons.vfs.FileSelector arg0)
throws org.apache.commons.vfs.FileSystemException
- Specified by:
delete in interface org.apache.commons.vfs.FileObject
- Throws:
org.apache.commons.vfs.FileSystemException
createFolder
public void createFolder()
throws org.apache.commons.vfs.FileSystemException
- Specified by:
createFolder in interface org.apache.commons.vfs.FileObject
- Throws:
org.apache.commons.vfs.FileSystemException
createFile
public void createFile()
throws org.apache.commons.vfs.FileSystemException
- Specified by:
createFile in interface org.apache.commons.vfs.FileObject
- Throws:
org.apache.commons.vfs.FileSystemException
copyFrom
public void copyFrom(org.apache.commons.vfs.FileObject arg0,
org.apache.commons.vfs.FileSelector arg1)
throws org.apache.commons.vfs.FileSystemException
- Specified by:
copyFrom in interface org.apache.commons.vfs.FileObject
- Throws:
org.apache.commons.vfs.FileSystemException
moveTo
public void moveTo(org.apache.commons.vfs.FileObject arg0)
throws org.apache.commons.vfs.FileSystemException
- Specified by:
moveTo in interface org.apache.commons.vfs.FileObject
- Throws:
org.apache.commons.vfs.FileSystemException
canRenameTo
public boolean canRenameTo(org.apache.commons.vfs.FileObject arg0)
- Specified by:
canRenameTo in interface org.apache.commons.vfs.FileObject
getContent
public org.apache.commons.vfs.FileContent getContent()
throws org.apache.commons.vfs.FileSystemException
- Specified by:
getContent in interface org.apache.commons.vfs.FileObject
- Throws:
org.apache.commons.vfs.FileSystemException
close
public void close()
throws org.apache.commons.vfs.FileSystemException
- Specified by:
close in interface org.apache.commons.vfs.FileObject
- Throws:
org.apache.commons.vfs.FileSystemException
refresh
public void refresh()
throws org.apache.commons.vfs.FileSystemException
- Specified by:
refresh in interface org.apache.commons.vfs.FileObject
- Throws:
org.apache.commons.vfs.FileSystemException
isAttached
public boolean isAttached()
- Specified by:
isAttached in interface org.apache.commons.vfs.FileObject
isContentOpen
public boolean isContentOpen()
- Specified by:
isContentOpen in interface org.apache.commons.vfs.FileObject
getFileOperations
public org.apache.commons.vfs.operations.FileOperations getFileOperations()
throws org.apache.commons.vfs.FileSystemException
- Specified by:
getFileOperations in interface org.apache.commons.vfs.FileObject
- Throws:
org.apache.commons.vfs.FileSystemException