Interface JBossVfsUtil.VfsFile

Enclosing class:
JBossVfsUtil

public static interface JBossVfsUtil.VfsFile
A file of the virtual file system, read without creating it on disk.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the name of the file, without the folder it is in.
    Opens the content of the file.
  • Method Details

    • getName

      String getName()
      Gets the name of the file, without the folder it is in.
      Returns:
      the file name
    • open

      InputStream open() throws IOException
      Opens the content of the file.
      Returns:
      the content of the file, to be closed by the caller
      Throws:
      IOException - if the content cannot be read