public class GATKPath
extends htsjdk.io.HtsPath
implements org.broadinstitute.barclay.argparser.TaggedArgument, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
HDFS_SCHEME |
Constructor and Description |
---|
GATKPath(GATKPath sourceGATKPath)
Create a GATKPath from an existing GATKPath.
|
GATKPath(java.lang.String uriString)
The raw value for this specifier as provided by the user.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.io.InputStream |
getInputStream() |
java.io.OutputStream |
getOutputStream()
Open a path for writing regardless of whether it's on GCS, HDFS or local disk.
|
java.lang.String |
getTag() |
java.util.Map<java.lang.String,java.lang.String> |
getTagAttributes() |
int |
hashCode() |
boolean |
isHadoopURL()
Returns true if this is a HDFS (Hadoop filesystem) URL.
|
void |
setTag(java.lang.String tagName) |
void |
setTagAttributes(java.util.Map<java.lang.String,java.lang.String> attributes) |
java.nio.file.Path |
toPath() |
java.lang.String |
toString() |
getCachedPath, getRawInputString, getToPathFailureReason, getURI, getURIString, hasFileSystemProvider, isPath, setCachedPath
public static final java.lang.String HDFS_SCHEME
public GATKPath(java.lang.String uriString)
uriString
- public GATKPath(GATKPath sourceGATKPath)
sourceGATKPath
- public java.nio.file.Path toPath()
toPath
in interface htsjdk.io.IOPath
toPath
in class htsjdk.io.HtsPath
public java.io.InputStream getInputStream()
getInputStream
in interface htsjdk.io.IOPath
getInputStream
in class htsjdk.io.HtsPath
public java.io.OutputStream getOutputStream()
getOutputStream
in interface htsjdk.io.IOPath
getOutputStream
in class htsjdk.io.HtsPath
public boolean isHadoopURL()
public void setTag(java.lang.String tagName)
setTag
in interface org.broadinstitute.barclay.argparser.TaggedArgument
public java.lang.String getTag()
getTag
in interface org.broadinstitute.barclay.argparser.TaggedArgument
public void setTagAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
setTagAttributes
in interface org.broadinstitute.barclay.argparser.TaggedArgument
public java.util.Map<java.lang.String,java.lang.String> getTagAttributes()
getTagAttributes
in interface org.broadinstitute.barclay.argparser.TaggedArgument
public java.lang.String toString()
toString
in class htsjdk.io.HtsPath
public boolean equals(java.lang.Object o)
equals
in class htsjdk.io.HtsPath
public int hashCode()
hashCode
in class htsjdk.io.HtsPath