public interface NamedStreamable
Modifier and Type | Interface and Description |
---|---|
static class |
NamedStreamable.ByteArrayWrapper |
static class |
NamedStreamable.DirWrapper |
static class |
NamedStreamable.FileWrapper |
static class |
NamedStreamable.InputStreamWrapper |
Modifier and Type | Method and Description |
---|---|
java.util.List<NamedStreamable> |
getChildren() |
default byte[] |
getContents() |
java.io.InputStream |
getInputStream() |
java.util.Optional<java.lang.String> |
getName() |
boolean |
isDirectory() |
java.io.InputStream getInputStream() throws java.io.IOException
java.io.IOException
java.util.Optional<java.lang.String> getName()
java.util.List<NamedStreamable> getChildren()
boolean isDirectory()
default byte[] getContents() throws java.io.IOException
java.io.IOException