|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jomic.tools.NumberedName
public class NumberedName
Representation of a name with a optional path, prefix, number and suffix. Examples:
Field Summary | |
---|---|
static java.lang.String |
DOUBLE_PAGE_SEPARATORS
Possible separators for double pages. |
static java.lang.String |
PATH_SEPARATORS
|
Constructor Summary | |
---|---|
NumberedName(java.lang.String newFullName)
|
Method Summary | |
---|---|
java.lang.String |
getFullName()
Get theoriginal full name. |
java.lang.String |
getName(boolean demoronized)
Get the name (without the path). |
java.lang.String |
getPage()
Get the page of the name. |
java.lang.String |
getPath()
Get the path of the name. |
java.lang.String |
getPrefix()
Get the prefix before the page of the name. |
java.lang.String |
getSuffix()
Get the suffix after the page of the name. |
boolean |
usesPotentiallyMoronicNumbering()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DOUBLE_PAGE_SEPARATORS
public static final java.lang.String PATH_SEPARATORS
Constructor Detail |
---|
public NumberedName(java.lang.String newFullName)
Method Detail |
---|
public java.lang.String getFullName()
public java.lang.String getName(boolean demoronized)
demoronized
- if true, page numbers like "1718" are converted to "17+18".public java.lang.String getPage()
public java.lang.String getPath()
public java.lang.String getPrefix()
public java.lang.String getSuffix()
public boolean usesPotentiallyMoronicNumbering()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |