public class SolutionRepositoryVfsFileObject extends Object implements org.apache.commons.vfs2.FileObject
Constructor and Description |
---|
SolutionRepositoryVfsFileObject(String fileRef) |
Modifier and Type | Method and Description |
---|---|
boolean |
canRenameTo(org.apache.commons.vfs2.FileObject arg0) |
void |
close() |
int |
compareTo(org.apache.commons.vfs2.FileObject file) |
void |
copyFrom(org.apache.commons.vfs2.FileObject arg0,
org.apache.commons.vfs2.FileSelector arg1) |
void |
createFile() |
void |
createFolder() |
boolean |
delete() |
int |
delete(org.apache.commons.vfs2.FileSelector arg0) |
int |
deleteAll() |
boolean |
exists() |
org.apache.commons.vfs2.FileObject[] |
findFiles(org.apache.commons.vfs2.FileSelector arg0) |
void |
findFiles(org.apache.commons.vfs2.FileSelector arg0,
boolean arg1,
List arg2) |
protected IAclNodeHelper |
getAclHelper() |
org.apache.commons.vfs2.FileObject |
getChild(String arg0) |
org.apache.commons.vfs2.FileObject[] |
getChildren() |
org.apache.commons.vfs2.FileContent |
getContent() |
IRepositoryContentConverterHandler |
getConverterHandler() |
org.apache.commons.vfs2.operations.FileOperations |
getFileOperations() |
String |
getFileRef() |
org.apache.commons.vfs2.FileSystem |
getFileSystem() |
InputStream |
getInputStream() |
org.apache.commons.vfs2.FileName |
getName() |
org.apache.commons.vfs2.FileObject |
getParent() |
String |
getPublicURIString() |
IUnifiedRepository |
getRepository() |
org.apache.commons.vfs2.FileType |
getType() |
URL |
getURL()
TODO: This impl always returns null as the URL constructor throws an exception on not finding a handler for 'solution' protocol
We should either fix this or remove this method as it is not called by any code
|
boolean |
isAttached() |
boolean |
isContentOpen() |
boolean |
isExecutable() |
boolean |
isFile() |
boolean |
isFolder() |
boolean |
isHidden() |
boolean |
isReadable() |
boolean |
isWriteable() |
Iterator<org.apache.commons.vfs2.FileObject> |
iterator() |
void |
moveTo(org.apache.commons.vfs2.FileObject arg0) |
void |
refresh() |
org.apache.commons.vfs2.FileObject |
resolveFile(String arg0) |
org.apache.commons.vfs2.FileObject |
resolveFile(String arg0,
org.apache.commons.vfs2.NameScope arg1) |
boolean |
setExecutable(boolean executable,
boolean ownerOnly) |
boolean |
setReadable(boolean readable,
boolean ownerOnly) |
static void |
setTestAclHelper(IAclNodeHelper helper)
We do not control the lifecycle (creation) of these class instances.
|
boolean |
setWritable(boolean writable,
boolean ownerOnly) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public SolutionRepositoryVfsFileObject(String fileRef)
public IUnifiedRepository getRepository()
public IRepositoryContentConverterHandler getConverterHandler()
public String getFileRef()
public org.apache.commons.vfs2.FileName getName()
getName
in interface org.apache.commons.vfs2.FileObject
public URL getURL() throws org.apache.commons.vfs2.FileSystemException
getURL
in interface org.apache.commons.vfs2.FileObject
org.apache.commons.vfs2.FileSystemException
public boolean exists() throws org.apache.commons.vfs2.FileSystemException
exists
in interface org.apache.commons.vfs2.FileObject
org.apache.commons.vfs2.FileSystemException
public boolean isHidden() throws org.apache.commons.vfs2.FileSystemException
isHidden
in interface org.apache.commons.vfs2.FileObject
org.apache.commons.vfs2.FileSystemException
public boolean isReadable() throws org.apache.commons.vfs2.FileSystemException
isReadable
in interface org.apache.commons.vfs2.FileObject
org.apache.commons.vfs2.FileSystemException
public boolean isWriteable() throws org.apache.commons.vfs2.FileSystemException
isWriteable
in interface org.apache.commons.vfs2.FileObject
org.apache.commons.vfs2.FileSystemException
public org.apache.commons.vfs2.FileType getType() throws org.apache.commons.vfs2.FileSystemException
getType
in interface org.apache.commons.vfs2.FileObject
org.apache.commons.vfs2.FileSystemException
public org.apache.commons.vfs2.FileObject getParent() throws org.apache.commons.vfs2.FileSystemException
getParent
in interface org.apache.commons.vfs2.FileObject
org.apache.commons.vfs2.FileSystemException
public String getPublicURIString()
getPublicURIString
in interface org.apache.commons.vfs2.FileObject
public org.apache.commons.vfs2.FileSystem getFileSystem()
getFileSystem
in interface org.apache.commons.vfs2.FileObject
public org.apache.commons.vfs2.FileObject[] getChildren() throws org.apache.commons.vfs2.FileSystemException
getChildren
in interface org.apache.commons.vfs2.FileObject
org.apache.commons.vfs2.FileSystemException
public org.apache.commons.vfs2.FileObject getChild(String arg0) throws org.apache.commons.vfs2.FileSystemException
getChild
in interface org.apache.commons.vfs2.FileObject
org.apache.commons.vfs2.FileSystemException
public org.apache.commons.vfs2.FileObject resolveFile(String arg0, org.apache.commons.vfs2.NameScope arg1) throws org.apache.commons.vfs2.FileSystemException
resolveFile
in interface org.apache.commons.vfs2.FileObject
org.apache.commons.vfs2.FileSystemException
public boolean setExecutable(boolean executable, boolean ownerOnly) throws org.apache.commons.vfs2.FileSystemException
setExecutable
in interface org.apache.commons.vfs2.FileObject
org.apache.commons.vfs2.FileSystemException
public boolean setReadable(boolean readable, boolean ownerOnly) throws org.apache.commons.vfs2.FileSystemException
setReadable
in interface org.apache.commons.vfs2.FileObject
org.apache.commons.vfs2.FileSystemException
public boolean setWritable(boolean writable, boolean ownerOnly) throws org.apache.commons.vfs2.FileSystemException
setWritable
in interface org.apache.commons.vfs2.FileObject
org.apache.commons.vfs2.FileSystemException
public org.apache.commons.vfs2.FileObject resolveFile(String arg0) throws org.apache.commons.vfs2.FileSystemException
resolveFile
in interface org.apache.commons.vfs2.FileObject
org.apache.commons.vfs2.FileSystemException
public org.apache.commons.vfs2.FileObject[] findFiles(org.apache.commons.vfs2.FileSelector arg0) throws org.apache.commons.vfs2.FileSystemException
findFiles
in interface org.apache.commons.vfs2.FileObject
org.apache.commons.vfs2.FileSystemException
public void findFiles(org.apache.commons.vfs2.FileSelector arg0, boolean arg1, List arg2) throws org.apache.commons.vfs2.FileSystemException
findFiles
in interface org.apache.commons.vfs2.FileObject
org.apache.commons.vfs2.FileSystemException
public boolean delete() throws org.apache.commons.vfs2.FileSystemException
delete
in interface org.apache.commons.vfs2.FileObject
org.apache.commons.vfs2.FileSystemException
public int delete(org.apache.commons.vfs2.FileSelector arg0) throws org.apache.commons.vfs2.FileSystemException
delete
in interface org.apache.commons.vfs2.FileObject
org.apache.commons.vfs2.FileSystemException
public int deleteAll() throws org.apache.commons.vfs2.FileSystemException
deleteAll
in interface org.apache.commons.vfs2.FileObject
org.apache.commons.vfs2.FileSystemException
public void createFolder() throws org.apache.commons.vfs2.FileSystemException
createFolder
in interface org.apache.commons.vfs2.FileObject
org.apache.commons.vfs2.FileSystemException
public void createFile() throws org.apache.commons.vfs2.FileSystemException
createFile
in interface org.apache.commons.vfs2.FileObject
org.apache.commons.vfs2.FileSystemException
public void copyFrom(org.apache.commons.vfs2.FileObject arg0, org.apache.commons.vfs2.FileSelector arg1) throws org.apache.commons.vfs2.FileSystemException
copyFrom
in interface org.apache.commons.vfs2.FileObject
org.apache.commons.vfs2.FileSystemException
public void moveTo(org.apache.commons.vfs2.FileObject arg0) throws org.apache.commons.vfs2.FileSystemException
moveTo
in interface org.apache.commons.vfs2.FileObject
org.apache.commons.vfs2.FileSystemException
public boolean canRenameTo(org.apache.commons.vfs2.FileObject arg0)
canRenameTo
in interface org.apache.commons.vfs2.FileObject
public org.apache.commons.vfs2.FileContent getContent() throws org.apache.commons.vfs2.FileSystemException
getContent
in interface org.apache.commons.vfs2.FileObject
org.apache.commons.vfs2.FileSystemException
public void close() throws org.apache.commons.vfs2.FileSystemException
close
in interface Closeable
close
in interface AutoCloseable
close
in interface org.apache.commons.vfs2.FileObject
org.apache.commons.vfs2.FileSystemException
public void refresh() throws org.apache.commons.vfs2.FileSystemException
refresh
in interface org.apache.commons.vfs2.FileObject
org.apache.commons.vfs2.FileSystemException
public boolean isAttached()
isAttached
in interface org.apache.commons.vfs2.FileObject
public boolean isContentOpen()
isContentOpen
in interface org.apache.commons.vfs2.FileObject
public boolean isExecutable() throws org.apache.commons.vfs2.FileSystemException
isExecutable
in interface org.apache.commons.vfs2.FileObject
org.apache.commons.vfs2.FileSystemException
public boolean isFile() throws org.apache.commons.vfs2.FileSystemException
isFile
in interface org.apache.commons.vfs2.FileObject
org.apache.commons.vfs2.FileSystemException
public boolean isFolder() throws org.apache.commons.vfs2.FileSystemException
isFolder
in interface org.apache.commons.vfs2.FileObject
org.apache.commons.vfs2.FileSystemException
public org.apache.commons.vfs2.operations.FileOperations getFileOperations() throws org.apache.commons.vfs2.FileSystemException
getFileOperations
in interface org.apache.commons.vfs2.FileObject
org.apache.commons.vfs2.FileSystemException
public InputStream getInputStream() throws UnifiedRepositoryException, org.apache.commons.vfs2.FileSystemException
UnifiedRepositoryException
org.apache.commons.vfs2.FileSystemException
protected IAclNodeHelper getAclHelper()
public static void setTestAclHelper(IAclNodeHelper helper)
helper
- public int compareTo(org.apache.commons.vfs2.FileObject file)
compareTo
in interface Comparable<org.apache.commons.vfs2.FileObject>
Copyright © 2017 Hitachi Vantara. All rights reserved.