org.autoplot.pds.FilePointer

A FilePointer is a reference to a URL and then the number of records into the URL. For example, xpath.evaluate("/LABEL/POINTER/text()",doc,XPathConstants.NODESET); resolves to "JED_090_HIERSESP_CDR_2016366_V03.TAB, 1" where 1 is the record number to begin parsing.

FilePointer( java.net.URL url, int line )

FilePointer( java.net.URL labelFile, String f )

create the label from the specification within the LABEL, like "JED_090_HIERSESP_CDR_2016366_V03.TAB, 1"


PROP_LINE


getOffset

getOffset( ) → int

Returns:

int

[search for examples] [view on GitHub] [view on old javadoc]


getOffsetUnits

getOffsetUnits( ) → org.autoplot.pds.FilePointer.Unit

Returns:

org.autoplot.pds.FilePointer.Unit

[search for examples] [view on GitHub] [view on old javadoc]


getUrl

getUrl( ) → java.net.URL

Returns:

java.net.URL

[search for examples] [view on GitHub] [view on old javadoc]


setOffset

setOffset( int offset ) → void

Parameters

offset - an int

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc]


setOffsetUnits

setOffsetUnits( org.autoplot.pds.FilePointer.Unit offsetUnits ) → void

Parameters

offsetUnits - a FilePointer.Unit

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc]


setUrl

setUrl( java.net.URL url ) → void

Parameters

url - an URL

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc]


toString

toString( ) → String

Returns:

java.lang.String

[search for examples] [view on GitHub] [view on old javadoc]