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
IOException
public InputStream getInputStream() throws IOException
IOException
public void delete() throws IOException
IOException
public void write(Path target) throws IOException
IOException
Copyright © 2020 JBoss by Red Hat. All rights reserved.