edu.jhu.tmaj.client.importer.data
Class StandardImageOutputParser

java.lang.Object
  extended by edu.jhu.tmaj.client.importer.data.StandardImageOutputParser
All Implemented Interfaces:
ImageOutputParser

final class StandardImageOutputParser
extends java.lang.Object
implements ImageOutputParser

The standard ImageOutputParser; ideally all image scanning systems would give us their image filenames in this format. The format is: y_{y}_x_{x}_[...].jpg
Example: y_04_x_15_ZAEVTD.jpg
The ARIOL preimport turns the ARIOLS image files into this format.


Constructor Summary
StandardImageOutputParser()
           
 
Method Summary
 Coordinate getCoordinate(java.lang.String fileName)
          Gets the Coordinate (x and y position) by parsing the fileName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardImageOutputParser

StandardImageOutputParser()
Method Detail

getCoordinate

public Coordinate getCoordinate(java.lang.String fileName)
                         throws java.text.ParseException
Description copied from interface: ImageOutputParser
Gets the Coordinate (x and y position) by parsing the fileName

Specified by:
getCoordinate in interface ImageOutputParser
Throws:
java.text.ParseException