public interface BinaryProvider
| Modifier and Type | Method and Description |
|---|---|
boolean |
exists(String name) |
byte[] |
getBytes(String name) |
String |
getFilePath(FileInfo fileInfo) |
String |
getFilePath(String name) |
String |
getLocation() |
InputStream |
getStream(String name) |
URL |
getURL(String name) |
long |
lastModified(String name) |
void |
put(FileItem fileItem) |
void |
put(String name,
byte[] data) |
void |
put(String name,
InputStream data) |
boolean |
remove(FileInfo fileInfo) |
void |
remove(String name) |
void put(String name, InputStream data) throws IOException
IOExceptionvoid put(FileItem fileItem) throws IOException
IOExceptionvoid put(String name, byte[] data) throws IOException
IOExceptionInputStream getStream(String name)
String getFilePath(FileInfo fileInfo) throws IOException
IOExceptionString getFilePath(String name) throws IOException
IOExceptionbyte[] getBytes(String name)
void remove(String name) throws IOException
IOExceptionboolean remove(FileInfo fileInfo) throws IOException
IOExceptionboolean exists(String name) throws IOException
IOExceptionlong lastModified(String name) throws IOException
IOExceptionString getLocation()
Copyright © 2003–2018 eXo Platform SAS. All rights reserved.