public static class AbstractOrigin.URIOrigin extends AbstractOrigin<URI,AbstractOrigin.URIOrigin>
URI
origin.AbstractOrigin.ByteArrayOrigin, AbstractOrigin.CharSequenceOrigin, AbstractOrigin.FileOrigin, AbstractOrigin.InputStreamOrigin, AbstractOrigin.OutputStreamOrigin, AbstractOrigin.PathOrigin, AbstractOrigin.ReaderOrigin, AbstractOrigin.URIOrigin, AbstractOrigin.WriterOrigin
Constructor and Description |
---|
URIOrigin(URI origin)
Constructs a new instance for the given origin.
|
Modifier and Type | Method and Description |
---|---|
File |
getFile()
Gets this origin as a Path, if possible.
|
Path |
getPath()
Gets this origin as a Path, if possible.
|
get, getByteArray, getByteArray, getCharSequence, getInputStream, getOutputStream, getReader, getWriter, size, toString
asThis
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
asSupplier
public File getFile()
AbstractOrigin
getFile
in class AbstractOrigin<URI,AbstractOrigin.URIOrigin>
public Path getPath()
AbstractOrigin
getPath
in class AbstractOrigin<URI,AbstractOrigin.URIOrigin>
Copyright © 2002–2023 The Apache Software Foundation. All rights reserved.