| Constructor and Description |
|---|
FileItem(byte[] content) |
FileItem(Path file) |
| Modifier and Type | Method and Description |
|---|---|
void | delete() |
Path | getFile() |
long | getFileSize() |
InputStream | getInputStream() |
boolean | isInMemory() |
void | write(Path target) |
public FileItem(Path file)
public FileItem(byte[] content)
public boolean isInMemory()
public Path getFile()
public long getFileSize()
throws IOException IOExceptionpublic InputStream getInputStream() throws IOException
IOExceptionpublic void delete()
throws IOException IOExceptionpublic void write(Path target) throws IOException
IOExceptionCopyright © 2020 JBoss by Red Hat. All rights reserved.