All Known Implementing Classes:
PrefixedFileEntry, RemovePathEntry, SimpleFileEntry

public interface FileEntry
A file that is written to a WAR file.
  • Method Details

    • getName

      String getName()
      Returns:
      name of the entry in the WAR file. e.g. WEB-INF/classes/META-INF/myfile.txt
    • getInputStream

      InputStream getInputStream() throws IOException
      Returns:
      an input stream for reading the data of the file to put into the WAR.
      Throws:
      IOException - if an I/O error occurs.