public class LocalFile extends Object
| Modifier and Type | Method and Description | 
|---|---|
byte[] | 
getContent()  | 
String | 
getContentAsString()  | 
String | 
getContentAsString(Charset charset)  | 
File | 
getFile()  | 
File | 
getFile(TempFileSpace space)  | 
Path | 
getPath()  | 
Path | 
getPath(TempFileSpace tempFileSpace)  | 
InputStream | 
newContentInputStream()  | 
static LocalFile | 
of(File path)  | 
static LocalFile | 
of(Path path)  | 
static LocalFile | 
of(String path)  | 
static LocalFile | 
ofContent(byte[] content)  | 
static LocalFile | 
ofContent(String content)  | 
public static LocalFile of(File path) throws IOException
IOExceptionpublic static LocalFile of(Path path) throws IOException
IOExceptionpublic static LocalFile of(String path) throws IOException
IOExceptionpublic static LocalFile ofContent(byte[] content)
public File getFile()
public File getFile(TempFileSpace space)
public Path getPath()
public Path getPath(TempFileSpace tempFileSpace)
public byte[] getContent()
public String getContentAsString()
public InputStream newContentInputStream()