类 VirtualFile
java.lang.Object
cool.scx.util.zip.AbstractVirtualFile
cool.scx.util.zip.VirtualFile
- 所有已实现的接口:
ScxTree<AbstractVirtualFile>
虚拟文件
- 版本:
- 0.0.1
- 作者:
- scx567888
-
字段概要
从类继承的字段 cool.scx.util.zip.AbstractVirtualFile
children, name, parent -
方法概要
修饰符和类型方法说明byte[]getBytes()获取虚拟文件的字节static VirtualFile通过 文件(File) 创建static VirtualFile通过 byte 创建static VirtualFile通过 文件() 创建从类继承的方法 cool.scx.util.zip.AbstractVirtualFile
children, parent, setParent, toZipBytes, toZipFile, walk
-
方法详细资料
-
of
通过 文件(File) 创建- 参数:
physicalFile- a- 返回:
- a
-
of
通过 文件() 创建- 参数:
name- aphysicalFile- a- 返回:
- a
-
of
通过 byte 创建- 参数:
name- abytes- a- 返回:
- a
-
getBytes
获取虚拟文件的字节- 返回:
- a
- 抛出:
IOException- a
-