@NotThreadSafe public class FileItemResource extends Object implements com.helger.commons.io.resource.IReadableResource
IReadableResource interface for uploaded
IFileItem objects.| Constructor and Description |
|---|
FileItemResource(IFileItem aFileItem) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
boolean |
exists() |
File |
getAsFile() |
URL |
getAsURL() |
InputStream |
getInputStream() |
String |
getPath() |
com.helger.commons.io.resource.IReadableResource |
getReadableCloneForPath(String sPath) |
String |
getResourceID() |
int |
hashCode() |
boolean |
isReadMultiple() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait@Nonnull public String getResourceID()
getResourceID in interface com.helger.commons.io.resource.IResourceBase@Nonnull public String getPath()
getPath in interface com.helger.commons.io.resource.IResourceBase@Nullable public InputStream getInputStream()
getInputStream in interface com.helger.commons.io.IHasInputStreampublic boolean isReadMultiple()
isReadMultiple in interface com.helger.commons.io.IHasInputStreampublic boolean exists()
exists in interface com.helger.commons.io.resource.IResourceBase@Nullable public URL getAsURL()
getAsURL in interface com.helger.commons.io.resource.IResourceBase@Nullable public File getAsFile()
getAsFile in interface com.helger.commons.io.resource.IResourceBase@Nonnull @UnsupportedOperation public com.helger.commons.io.resource.IReadableResource getReadableCloneForPath(@Nonnull String sPath)
getReadableCloneForPath in interface com.helger.commons.io.resource.IReadableResourceCopyright © 2014–2019 Philip Helger. All rights reserved.