Package org.esa.snap.core.dataop.dem
Class EastingNorthingParser
- java.lang.Object
-
- org.esa.snap.core.dataop.dem.EastingNorthingParser
-
public class EastingNorthingParser extends Object
-
-
Constructor Summary
Constructors Constructor Description EastingNorthingParser(String text, String allowedSuffix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
assignValueByDirection(int[] eastingNorthing, int value, int direction)
protected int
correctValueByDirection(int value, int direction)
protected int
getDirection()
int[]
parse()
protected void
parseDirectionValueAndAssign(int[] eastingNorthing)
protected int
readNumber()
-
-
-
Method Detail
-
parse
public int[] parse() throws ParseException
- Throws:
ParseException
-
parseDirectionValueAndAssign
protected void parseDirectionValueAndAssign(int[] eastingNorthing) throws ParseException
- Throws:
ParseException
-
assignValueByDirection
protected void assignValueByDirection(int[] eastingNorthing, int value, int direction)
-
correctValueByDirection
protected int correctValueByDirection(int value, int direction) throws ParseException
- Throws:
ParseException
-
getDirection
protected int getDirection() throws ParseException
- Throws:
ParseException
-
readNumber
protected int readNumber() throws ParseException
- Throws:
ParseException
-
-