Class VFSLocation
java.lang.Object
net.datenwerke.rs.terminal.service.terminal.vfs.VFSLocation
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleancreate()voiddelete()booleanbooleanexists()getChildObject(VFSObjectInfo childInfo) byte[]getName()longgetSize()booleanbooleaninthashCode()booleanbooleanisFolder()booleanbooleanisRoot()booleanbooleanbooleanmkdir()newNonExistingSubLocation(String pathway) newSubLocation(Object pathway, boolean id) newSubLocation(String pathway, boolean id) newVirtualSubLocation(VirtualContentProviderHook virtualContentProvider) voidsetAbsolutePath(String absolutePath) voidsetContent(byte[] content) voidsetFilesystemManager(VirtualFileSystemManagerHook filesystemManager) toString()voidwriteIntoLocation(byte[] uploadData)
-
Field Details
-
LOCATION_ID_PREFIX
- See Also:
-
-
Constructor Details
-
VFSLocation
public VFSLocation() -
VFSLocation
-
-
Method Details
-
getAbsolutePath
-
setAbsolutePath
-
getFilesystemManager
-
setFilesystemManager
-
getFileSystem
-
isRoot
public boolean isRoot() -
isFileSystemRoot
public boolean isFileSystemRoot() -
isWildcardLocation
public boolean isWildcardLocation() -
isVirtualLocation
public boolean isVirtualLocation() -
resolveWildcards
-
prettyPrint
-
getPathInVirtualSystem
-
getPathInFileSystem
-
getPathHelper
-
newSubLocation
-
newSubLocation
-
newNonExistingSubLocation
-
newVirtualSubLocation
-
getVirtualContentProvider
-
getVirtualBaseLocation
-
getVirtualParentLocation
-
getParentLocation
-
isFolder
public boolean isFolder() -
getChildObject
-
getObject
- Throws:
VFSException
-
hashCode
public int hashCode() -
equals
-
toString
-
hasChildren
public boolean hasChildren() -
hasContent
- Throws:
VFSException
-
getContent
- Throws:
VFSException
-
setContent
- Throws:
VFSException
-
getContentType
- Throws:
VFSException
-
getName
-
getLastModified
-
exists
public boolean exists() -
getSize
public long getSize() -
canWriteIntoLocation
public boolean canWriteIntoLocation() -
isLocationDeletable
public boolean isLocationDeletable() -
delete
- Throws:
VFSException
-
rename
-
create
- Throws:
VFSException
-
mkdir
- Throws:
VFSException
-
writeIntoLocation
- Throws:
VFSException
-