org.pentaho.platform.repository.solution.filebased
Class SolutionRepositoryVfsFileObject

java.lang.Object
  extended by org.pentaho.platform.repository.solution.filebased.SolutionRepositoryVfsFileObject

public class SolutionRepositoryVfsFileObject
extends Object


Constructor Summary
SolutionRepositoryVfsFileObject(String fileRef, ISolutionRepository repository)
           
SolutionRepositoryVfsFileObject(String fileRef, ISolutionRepository repository, FileType type)
           
 
Method Summary
 boolean canRenameTo(FileObject arg0)
           
 void close()
           
 void copyFrom(FileObject arg0, FileSelector arg1)
           
 void createFile()
           
 void createFolder()
           
 boolean delete()
           
 int delete(FileSelector arg0)
           
 boolean exists()
           
 FileObject[] findFiles(FileSelector arg0)
           
 void findFiles(FileSelector arg0, boolean arg1, List arg2)
           
 FileObject getChild(String arg0)
           
 FileObject[] getChildren()
           
 FileContent getContent()
           
 FileOperations getFileOperations()
           
 String getFileRef()
           
 FileSystem getFileSystem()
           
 FileName getName()
           
 FileObject getParent()
           
 ISolutionRepository getRepository()
           
 FileType getType()
           
 URL getURL()
           
 boolean isAttached()
           
 boolean isContentOpen()
           
 boolean isHidden()
           
 boolean isReadable()
           
 boolean isWriteable()
           
 void moveTo(FileObject arg0)
           
 void refresh()
           
 FileObject resolveFile(String arg0)
           
 FileObject resolveFile(String arg0, NameScope arg1)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SolutionRepositoryVfsFileObject

public SolutionRepositoryVfsFileObject(String fileRef,
                                       ISolutionRepository repository)

SolutionRepositoryVfsFileObject

public SolutionRepositoryVfsFileObject(String fileRef,
                                       ISolutionRepository repository,
                                       FileType type)
Method Detail

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