类 VirtualFile

所有已实现的接口:
ScxTree<AbstractVirtualFile>

public final class VirtualFile extends AbstractVirtualFile
虚拟文件
版本:
0.0.1
作者:
scx567888
  • 方法详细资料

    • of

      public static VirtualFile of(File physicalFile)
      通过 文件(File) 创建
      参数:
      physicalFile - a
      返回:
      a
    • of

      public static VirtualFile of(String name, File physicalFile)
      通过 文件() 创建
      参数:
      name - a
      physicalFile - a
      返回:
      a
    • of

      public static VirtualFile of(String name, byte[] bytes)
      通过 byte 创建
      参数:
      name - a
      bytes - a
      返回:
      a
    • getBytes

      public byte[] getBytes() throws IOException
      获取虚拟文件的字节
      返回:
      a
      抛出:
      IOException - a