Package org.burningwave.core.io
Class FileSystemItem
java.lang.Object
org.burningwave.core.io.FileSystemItem
- All Implemented Interfaces:
Comparable<FileSystemItem>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic classstatic enumstatic class -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(FileSystemItem fileSystemItem) copyAllChildrenTo(String folder) copyAllChildrenTo(String folder, FileSystemItem.Criteria filter) copyTo(String folder, FileSystemItem.Criteria filter) voiddestroy()booleanbooleanexists()findInAllChildren(FileSystemItem.Criteria filter, Supplier<Collection<FileSystemItem>> setSupplier) findInAllParents(FileSystemItem.Criteria filter, Supplier<Collection<FileSystemItem>> setSupplier) findInChildren(FileSystemItem.Criteria filter, Supplier<Collection<FileSystemItem>> setSupplier) getName()getRoot()getURL()booleanbooleanisChildOf(FileSystemItem fileSystemItem) booleanbooleanbooleanisFile()booleanisFolder()booleanisParentOf(FileSystemItem fileSystemItem) booleanisRoot()static FileSystemItemstatic FileSystemItemstatic FileSystemItemrefresh()refresh(boolean removeLinkedResourcesFromCache) reloadContent(boolean recomputeConventionedAbsolutePath) reset()reset(boolean removeLinkedResourcesFromCache) byte[]<S extends Serializable>
StoObject()toString()
-
Method Details
-
of
-
of
-
ofPath
-
copyAllChildrenTo
-
copyAllChildrenTo
-
copyTo
-
copyTo
-
equals
-
exists
public boolean exists() -
findInAllChildren
-
findInAllChildren
public Collection<FileSystemItem> findInAllChildren(FileSystemItem.Criteria filter, Supplier<Collection<FileSystemItem>> setSupplier) -
findInChildren
-
findInChildren
public Collection<FileSystemItem> findInChildren(FileSystemItem.Criteria filter, Supplier<Collection<FileSystemItem>> setSupplier) -
findRecursiveInChildren
-
findFirstInAllChildren
-
findFirstInAllChildren
-
findFirstInChildren
-
findFirstInChildren
-
getAbsolutePath
-
getRoot
-
getAllParents
-
getAllChildren
-
getChildren
-
getExtension
-
getName
-
findInAllParents
-
findInAllParents
public Collection<FileSystemItem> findInAllParents(FileSystemItem.Criteria filter, Supplier<Collection<FileSystemItem>> setSupplier) -
findFirstInAllParents
-
getParent
-
getParentContainer
-
getURL
-
isArchive
public boolean isArchive() -
isChildOf
-
isCompressed
public boolean isCompressed() -
isContainer
public boolean isContainer() -
isFile
public boolean isFile() -
isFolder
public boolean isFolder() -
isParentOf
-
isRoot
public boolean isRoot() -
refresh
-
refresh
-
reset
-
reset
-
destroy
public void destroy() -
reloadContent
-
reloadContent
-
toByteBuffer
-
toByteArray
public byte[] toByteArray() -
toInputStream
-
toJavaClass
-
toObject
-
toString
-
compareTo
- Specified by:
compareToin interfaceComparable<FileSystemItem>
-