public class URLPath extends NutsPathBase implements net.thevpc.nuts.spi.NutsPathSPI
| Modifier | Constructor and Description |
|---|---|
|
URLPath(URL url,
net.thevpc.nuts.NutsSession session) |
protected |
URLPath(URL url,
net.thevpc.nuts.NutsSession session,
boolean acceptNull) |
| Modifier and Type | Method and Description |
|---|---|
String |
asString() |
void |
delete(boolean recurse) |
boolean |
equals(Object o) |
boolean |
exists() |
net.thevpc.nuts.NutsFormat |
formatter() |
String |
getContentEncoding() |
long |
getContentLength() |
String |
getContentType() |
net.thevpc.nuts.spi.NutsFormatSPI |
getFormatterSPI() |
Instant |
getLastModifiedInstant() |
String |
getLocation() |
String |
getName() |
int |
hashCode() |
net.thevpc.nuts.NutsInput |
input() |
InputStream |
inputStream() |
void |
mkdir(boolean parents) |
net.thevpc.nuts.NutsOutput |
output() |
OutputStream |
outputStream() |
net.thevpc.nuts.NutsPath |
toCompressedForm() |
Path |
toFilePath() |
String |
toString() |
URL |
toURL() |
asFilePath, asURL, getBaseName, getFormattedName, getFullExtension, getLastExtension, getSession, isFilePath, isURL, toNutsStringprotected URL url
public URLPath(URL url, net.thevpc.nuts.NutsSession session)
protected URLPath(URL url, net.thevpc.nuts.NutsSession session, boolean acceptNull)
public String toString()
public String getContentEncoding()
getContentEncoding in interface net.thevpc.nuts.NutsPathgetContentEncoding in interface net.thevpc.nuts.spi.NutsPathSPIpublic String getContentType()
getContentType in interface net.thevpc.nuts.NutsPathgetContentType in interface net.thevpc.nuts.spi.NutsPathSPIpublic String getName()
getName in interface net.thevpc.nuts.NutsPathgetName in interface net.thevpc.nuts.spi.NutsPathSPIpublic String asString()
asString in interface net.thevpc.nuts.NutsPathasString in interface net.thevpc.nuts.spi.NutsPathSPIpublic String getLocation()
getLocation in interface net.thevpc.nuts.NutsPathgetLocation in interface net.thevpc.nuts.spi.NutsPathSPIpublic net.thevpc.nuts.NutsPath toCompressedForm()
toCompressedForm in interface net.thevpc.nuts.NutsPathtoCompressedForm in interface net.thevpc.nuts.spi.NutsPathSPIpublic URL toURL()
toURL in interface net.thevpc.nuts.NutsPathtoURL in interface net.thevpc.nuts.spi.NutsPathSPIpublic Path toFilePath()
toFilePath in interface net.thevpc.nuts.NutsPathtoFilePath in interface net.thevpc.nuts.spi.NutsPathSPIpublic net.thevpc.nuts.NutsInput input()
input in interface net.thevpc.nuts.NutsPathpublic net.thevpc.nuts.NutsOutput output()
output in interface net.thevpc.nuts.NutsPathpublic void delete(boolean recurse)
delete in interface net.thevpc.nuts.NutsPathdelete in interface net.thevpc.nuts.spi.NutsPathSPIpublic void mkdir(boolean parents)
mkdir in interface net.thevpc.nuts.NutsPathmkdir in interface net.thevpc.nuts.spi.NutsPathSPIpublic boolean exists()
exists in interface net.thevpc.nuts.NutsPathexists in interface net.thevpc.nuts.spi.NutsPathSPIpublic long getContentLength()
getContentLength in interface net.thevpc.nuts.NutsPathgetContentLength in interface net.thevpc.nuts.spi.NutsPathSPIpublic Instant getLastModifiedInstant()
getLastModifiedInstant in interface net.thevpc.nuts.NutsPathgetLastModifiedInstant in interface net.thevpc.nuts.spi.NutsPathSPIpublic net.thevpc.nuts.NutsFormat formatter()
formatter in interface net.thevpc.nuts.NutsFormattableformatter in class NutsPathBasepublic net.thevpc.nuts.spi.NutsFormatSPI getFormatterSPI()
getFormatterSPI 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.NutsPathSPICopyright © 2021 vpc open source initiative. All rights reserved.