com.ptc.wvs.server.thumbnail.j3d
Class EDFileReader
java.lang.Object
com.ptc.wvs.server.thumbnail.j3d.EDFileReader
- public class EDFileReader
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
root
Group root
dir
String dir
edFile
String edFile
totalLoadCount
int totalLoadCount
componentCount
int componentCount
EDFileReader
public EDFileReader(String dir,
String edFile)
getScene
Group getScene()
getTotalLoadCount
int getTotalLoadCount()
getComponentCount
int getComponentCount()
readFile
public boolean readFile()
read
private boolean read(BufferedReader br)
throws Exception
- Throws:
Exception
setTransforms
private void setTransforms(TransformGroup n,
String parentUnit)
loadAll
public int loadAll(boolean debugFlag,
PrintWriter extFile)
load
public void load(boolean debugFlag,
PrintWriter extFile,
Group n,
boolean doChildren)
getFirstPropertyValue
public static String getFirstPropertyValue(Hashtable h,
String name)
- get the fist property value from a posibly multi-valued property
Supported API: false
- Returns:
- property value
COPIED FROM Structure.java
getPropertyValues
public static String[] getPropertyValues(Hashtable h,
String name)
- get all property values from a posibly multi-valued property
Supported API: false
COPIED FROM Structure.java
getLocationValue
public static String getLocationValue(Hashtable h)
- try to get the value of the location property, for the case when there
are multiple values, ie. a customer attribute called location is messing things up.
COPIED FROM Structure.java, with modification to remove constant for "location"
- Returns:
- location value