public abstract class AbstractWrappedWritableResource extends Object implements IWrappedWritableResource
OutputStream manipulation .| Constructor and Description |
|---|
AbstractWrappedWritableResource(IWritableResource aBaseResource) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
exists() |
File |
getAsFile() |
URL |
getAsURL() |
String |
getPath() |
String |
getResourceID() |
IWritableResource |
getWrappedWritableResource() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisWriteMultiplegetWritableCloneForPathgetBufferedWriter, getWritergetBufferedOutputStream, getOutputStreampublic AbstractWrappedWritableResource(@Nonnull IWritableResource aBaseResource)
@Nonnull public IWritableResource getWrappedWritableResource()
getWrappedWritableResource in interface IWrappedWritableResourcenull.@Nonnull public String getResourceID()
getResourceID in interface IResourceBasenull resource ID used e.g. for system IDs in XML
resolving.@Nonnull public String getPath()
getPath in interface IResourceBasenullpublic boolean exists()
exists in interface IResourceBasetrue if the resource exists, false
otherwise.@Nullable public URL getAsURL()
getAsURL in interface IResourceBasenull
if this resource cannot be represented as an URL.@Nullable public File getAsFile()
getAsFile in interface IResourceBasenull
if this resource cannot be represented as a file.Copyright © 2014–2019 Philip Helger. All rights reserved.