Class SimpleFileEntry
java.lang.Object
com.atlassian.jira.plugins.ha.container.warhack.SimpleFileEntry
- All Implemented Interfaces:
FileEntry
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleFileEntry(String name, ExceptionalSupplier<? extends InputStream, ? extends IOException> streamSupplier) -
Method Summary
-
Constructor Details
-
SimpleFileEntry
public SimpleFileEntry(String name, ExceptionalSupplier<? extends InputStream, ? extends IOException> streamSupplier)
-
-
Method Details
-
getName
-
getInputStream
- Specified by:
getInputStreamin interfaceFileEntry- Returns:
- an input stream for reading the data of the file to put into the WAR.
- Throws:
IOException- if an I/O error occurs.
-