public class NutsResourcePath extends Object implements net.thevpc.nuts.spi.NutsPathSPI
| Constructor and Description |
|---|
NutsResourcePath(String path,
net.thevpc.nuts.NutsSession session) |
| Modifier and Type | Method and Description |
|---|---|
String |
asString() |
void |
delete(boolean recurse) |
boolean |
equals(Object o) |
boolean |
exists() |
String |
getContentEncoding() |
long |
getContentLength() |
String |
getContentType() |
net.thevpc.nuts.spi.NutsFormatSPI |
getFormatterSPI() |
Instant |
getLastModifiedInstant() |
String |
getLocation() |
String |
getName() |
net.thevpc.nuts.NutsSession |
getSession() |
int |
hashCode() |
InputStream |
inputStream() |
void |
mkdir(boolean parents) |
OutputStream |
outputStream() |
Path |
toFilePath() |
String |
toString() |
URL |
toURL() |
net.thevpc.nuts.NutsPath |
toURLPath() |
public NutsResourcePath(String path, net.thevpc.nuts.NutsSession session)
public String toString()
public net.thevpc.nuts.NutsPath toURLPath()
public net.thevpc.nuts.spi.NutsFormatSPI getFormatterSPI()
getFormatterSPI in interface net.thevpc.nuts.spi.NutsPathSPIpublic String getName()
getName in interface net.thevpc.nuts.spi.NutsPathSPIpublic URL toURL()
toURL in interface net.thevpc.nuts.spi.NutsPathSPIpublic Path toFilePath()
toFilePath in interface net.thevpc.nuts.spi.NutsPathSPIpublic boolean exists()
exists in interface net.thevpc.nuts.spi.NutsPathSPIpublic long getContentLength()
getContentLength in interface net.thevpc.nuts.spi.NutsPathSPIpublic String getContentEncoding()
getContentEncoding in interface net.thevpc.nuts.spi.NutsPathSPIpublic String getContentType()
getContentType in interface net.thevpc.nuts.spi.NutsPathSPIpublic String asString()
asString in interface net.thevpc.nuts.spi.NutsPathSPIpublic String getLocation()
getLocation in interface net.thevpc.nuts.spi.NutsPathSPIpublic InputStream inputStream()
inputStream in interface net.thevpc.nuts.spi.NutsPathSPIpublic OutputStream outputStream()
outputStream in interface net.thevpc.nuts.spi.NutsPathSPIpublic net.thevpc.nuts.NutsSession getSession()
getSession in interface net.thevpc.nuts.spi.NutsPathSPIpublic void delete(boolean recurse)
delete in interface net.thevpc.nuts.spi.NutsPathSPIpublic void mkdir(boolean parents)
mkdir in interface net.thevpc.nuts.spi.NutsPathSPIpublic Instant getLastModifiedInstant()
getLastModifiedInstant in interface net.thevpc.nuts.spi.NutsPathSPICopyright © 2021 vpc open source initiative. All rights reserved.