|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.ebxml.registry.util.ISO3166Importer
It is the importer for ISO3166 taxonomy. The MiddleEast node/tree will be a sub-node/tree of Asia node. The Australia node will be moved from Other node to Australia node next to New Zealand. The remaining nodes remain the same relationship as the original input ISO3166 taxonomy.
Constructor Summary | |
ISO3166Importer(java.lang.String fileName,
UUIDFactory uUIDFactory)
Constructor. |
Method Summary | |
org.oasis.ebxml.registry.bindings.rim.ClassificationScheme |
getClassificationScheme()
Get the ClassificationScheme for ISO3166 taxonomy |
static void |
main(java.lang.String[] args)
|
void |
setFile(java.lang.String fileName)
Set the file path of the ISO3166 taxonomy file. |
void |
setMaxNumOfCountries(int maxNum)
Set the maximum number of entries should be handled. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ISO3166Importer(java.lang.String fileName, UUIDFactory uUIDFactory) throws java.io.FileNotFoundException
fileName
- The file path and name of the ISO3166 taxonomy file.uUIDFactory
- The UUIDFactoryMethod Detail |
public void setFile(java.lang.String fileName) throws java.io.FileNotFoundException
fileName
- The file path of the ISO3166 taxonomy file
java.io.FileNotFoundException
public void setMaxNumOfCountries(int maxNum)
maxNum
- The maximum number of entries the importer will handlepublic org.oasis.ebxml.registry.bindings.rim.ClassificationScheme getClassificationScheme() throws java.io.IOException
java.io.IOException
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |