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