public class RegionNameExtractor
extends java.lang.Object
Copyright (C) 2012-2016 JIOWA Business Solutions GmbH, Bettinastr. 30 , 60325 Frankfurt am Main, Germany
Homepage: www.jiowa.de
All rights reserved.
Download: www.jiowa.de/download.html
License: www.jiowa.de/license.html
Modifier and Type | Field and Description |
---|---|
protected TextRegionNotation |
notation |
Constructor and Description |
---|
RegionNameExtractor(TextRegionNotation notation) |
Modifier and Type | Method and Description |
---|---|
RegionName |
extract(java.lang.String filename,
java.lang.String line)
Extracts the region name from a given text line.
|
protected com.jiowa.util.tuple.Tuple<java.lang.String,java.lang.Integer> |
extractRegionNameString(java.lang.String filename,
java.lang.String line)
Extracts the region name string
|
protected TextRegionNotation notation
public RegionNameExtractor(TextRegionNotation notation)
public RegionName extract(java.lang.String filename, java.lang.String line) throws ProtectedRegionException
filename
- the file name for error messagesline
- the text lineProtectedRegionException
- if the region could not determined correctlyprotected com.jiowa.util.tuple.Tuple<java.lang.String,java.lang.Integer> extractRegionNameString(java.lang.String filename, java.lang.String line) throws ProtectedRegionException
filename
- the filenameline
- the lineProtectedRegionException