public class Map3DUtils
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
Map3DUtils()
Don't allow instantiation, do allow overrides.
|
Modifier and Type | Method and Description |
---|---|
static Map3D<java.lang.String,java.lang.String,java.lang.String,java.lang.String> |
loadMap3D(java.io.File mapFile,
java.lang.String separator,
java.lang.String qualifier,
java.lang.String encoding)
Load string map3Dfrom a file.
|
static Map3D<java.lang.String,java.lang.String,java.lang.String,java.lang.String> |
loadMap3D(java.lang.String mapFileName,
java.lang.String separator,
java.lang.String qualifier,
java.lang.String encoding)
Load string set from a file name.
|
static Map3D<java.lang.String,java.lang.String,java.lang.String,java.lang.String> |
loadMap3D(java.net.URL map3DURL,
java.lang.String separator,
java.lang.String qualifier,
java.lang.String encoding)
Load string map3D from a URL.
|
static void |
saveMap3D(Map3D<?,?,?,?> map3D,
java.io.File mapFile,
java.lang.String separator,
java.lang.String qualifier,
java.lang.String encoding)
Save map3D as string to a file.
|
static void |
saveMap3D(Map3D<?,?,?,?> map3D,
java.lang.String mapFileName,
java.lang.String separator,
java.lang.String qualifier,
java.lang.String encoding)
Save map3D as string to a file name.
|
public static Map3D<java.lang.String,java.lang.String,java.lang.String,java.lang.String> loadMap3D(java.net.URL map3DURL, java.lang.String separator, java.lang.String qualifier, java.lang.String encoding) throws java.io.IOException, java.io.FileNotFoundException
map3DURL
- URL for map3Dfile.separator
- Field separator.qualifier
- Quote character.encoding
- Character encoding for the file.java.io.FileNotFoundException
- If input file does not exist.java.io.IOException
- If input file cannot be opened.public static Map3D<java.lang.String,java.lang.String,java.lang.String,java.lang.String> loadMap3D(java.io.File mapFile, java.lang.String separator, java.lang.String qualifier, java.lang.String encoding) throws java.io.IOException, java.io.FileNotFoundException
mapFile
- Map file.separator
- Field separator.qualifier
- Quote character.encoding
- Character encoding for the file.java.io.FileNotFoundException
- If input file does not exist.java.io.IOException
- If input file cannot be opened.public static Map3D<java.lang.String,java.lang.String,java.lang.String,java.lang.String> loadMap3D(java.lang.String mapFileName, java.lang.String separator, java.lang.String qualifier, java.lang.String encoding) throws java.io.IOException, java.io.FileNotFoundException
mapFileName
- Map file name.separator
- Field separator.qualifier
- Quote character.encoding
- Character encoding for the file.java.io.FileNotFoundException
- If input file does not exist.java.io.IOException
- If input file cannot be opened.public static void saveMap3D(Map3D<?,?,?,?> map3D, java.io.File mapFile, java.lang.String separator, java.lang.String qualifier, java.lang.String encoding) throws java.io.IOException, java.io.FileNotFoundException
map3D
- Map3D to save.mapFile
- Output file name.separator
- Field separator.qualifier
- Quote character.encoding
- Character encoding for the file.java.io.IOException
- If output file has error.java.io.FileNotFoundException
public static void saveMap3D(Map3D<?,?,?,?> map3D, java.lang.String mapFileName, java.lang.String separator, java.lang.String qualifier, java.lang.String encoding) throws java.io.IOException, java.io.FileNotFoundException
map3D
- Map3D to save.mapFileName
- Output file name.separator
- Field separator.qualifier
- Quote character.encoding
- Character encoding for the file.java.io.IOException
- If output file has error.java.io.FileNotFoundException