Java Doc for RandomAccessFileControl.java in  » 6.0-JDK-Modules » java-3d » com » sun » j3d » utils » scenegraph » io » retained » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules » java 3d » com.sun.j3d.utils.scenegraph.io.retained 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.j3d.utils.scenegraph.io.retained.Controller
      com.sun.j3d.utils.scenegraph.io.retained.RandomAccessFileControl

RandomAccessFileControl
public class RandomAccessFileControl extends Controller (Code)


Field Summary
protected  StringFILE_IDENT
    

Constructor Summary
public  RandomAccessFileControl()
    

Method Summary
public  voidclose()
    
public  voidcreateFile(java.io.File file, SimpleUniverse universe, boolean writeUniverseContent, String description, java.io.Serializable userData)
    
public  intgetBranchGraphCount()
    
public  intgetBranchGraphPosition(BranchGroup graph)
     Given a branchgraph, return the corresponding index of the graph in the file.
public  longgetFilePointer()
    
public  ObjectgetUserData()
    
public  voidloadNodeComponent(SymbolTableData symbol)
    
public  voidloadSharedGroup(SymbolTableData symbol)
    
public  voidopenFile(java.io.File file)
    
public  BranchGroup[]readAllBranchGraphs()
    
public  BranchGroup[]readBranchGraph(int graphID)
    
public  ObjectreadBranchGraphUserData(int graphID)
    
protected  voidreadBranchGraphs(int[] graphs)
     Read the set of branchgraps.
public  StringreadFileDescription()
    
protected  voidreadNodeComponents(DataInput in)
    
public  ConfiguredUniversereadUniverse(boolean attachBranchGraphs, Canvas3D canvas)
    
public  voidwriteBranchGraph(BranchGroup bg, java.io.Serializable userData)
    
protected  voidwriteNodeComponents(DataOutput out)
     Write all the unsaved NodeComponents and SharedGroups to DataOutput.
public  voidwriteObject(DataOutput out, SceneGraphObjectState obj)
    

Field Detail
FILE_IDENT
protected String FILE_IDENT(Code)




Constructor Detail
RandomAccessFileControl
public RandomAccessFileControl()(Code)
Creates new RandomAccessFileControl




Method Detail
close
public void close() throws IOException(Code)



createFile
public void createFile(java.io.File file, SimpleUniverse universe, boolean writeUniverseContent, String description, java.io.Serializable userData) throws IOException, UnsupportedUniverseException, CapabilityNotSetException(Code)
Create the file and write the inital header information



getBranchGraphCount
public int getBranchGraphCount()(Code)
Return the number of branchgraphs in the file



getBranchGraphPosition
public int getBranchGraphPosition(BranchGroup graph)(Code)
Given a branchgraph, return the corresponding index of the graph in the file. Returns -1 if graph not found.



getFilePointer
public long getFilePointer()(Code)



getUserData
public Object getUserData()(Code)



loadNodeComponent
public void loadNodeComponent(SymbolTableData symbol) throws IOException(Code)
Used by SymbolTable to load a node component that is not in current graph



loadSharedGroup
public void loadSharedGroup(SymbolTableData symbol) throws IOException(Code)
Loads the specified SharedGroup



openFile
public void openFile(java.io.File file) throws IOException(Code)
Open the file for reading



readAllBranchGraphs
public BranchGroup[] readAllBranchGraphs() throws IOException(Code)
Read and return all the graphs in the file



readBranchGraph
public BranchGroup[] readBranchGraph(int graphID) throws IOException(Code)



readBranchGraphUserData
public Object readBranchGraphUserData(int graphID) throws IOException(Code)



readBranchGraphs
protected void readBranchGraphs(int[] graphs) throws IOException(Code)
Read the set of branchgraps. Used by readUniverse RandomAccessFileControl will read the graphs in the array, StreamControl will read all graphs in the stream



readFileDescription
public String readFileDescription() throws IOException(Code)



readNodeComponents
protected void readNodeComponents(DataInput in) throws IOException(Code)
Read in all the node components in this block



readUniverse
public ConfiguredUniverse readUniverse(boolean attachBranchGraphs, Canvas3D canvas) throws IOException(Code)



writeBranchGraph
public void writeBranchGraph(BranchGroup bg, java.io.Serializable userData) throws IOException(Code)



writeNodeComponents
protected void writeNodeComponents(DataOutput out) throws IOException(Code)
Write all the unsaved NodeComponents and SharedGroups to DataOutput. Mark all the NodeComponents as saved.



writeObject
public void writeObject(DataOutput out, SceneGraphObjectState obj) throws IOException(Code)



Fields inherited from com.sun.j3d.utils.scenegraph.io.retained.Controller
final protected static long BG_DIR_PTR(Code)(Java Doc)
final protected static long BRANCH_GRAPH_COUNT(Code)(Java Doc)
final protected static long FILE_DESCRIPTION(Code)(Java Doc)
final protected static long NAMES_OBJECTS_TABLE_PTR(Code)(Java Doc)
final protected static long NODE_TYPES_PTR(Code)(Java Doc)
final protected static long SYMBOL_TABLE_PTR(Code)(Java Doc)
final protected static long UNIVERSE_CONFIG_PTR(Code)(Java Doc)
protected ClassLoader classLoader(Code)(Java Doc)
protected int currentFileVersion(Code)(Java Doc)
Class[] j3dClasses(Code)(Java Doc)
protected NullSceneGraphObjectState nullObject(Code)(Java Doc)
protected int outputFileVersion(Code)(Java Doc)
protected SymbolTable symbolTable(Code)(Java Doc)

Methods inherited from com.sun.j3d.utils.scenegraph.io.retained.Controller
public void addNamedObject(String name, SceneGraphObject object)(Code)(Java Doc)
abstract public void close() throws IOException(Code)(Java Doc)
public SceneGraphObjectState createState(SceneGraphObject obj)(Code)(Java Doc)
public SceneGraphObjectState createState(SceneGraphObject obj, SymbolTableData symbol)(Code)(Java Doc)
public SceneGraphObjectState createState(SymbolTableData symbol)(Code)(Java Doc)
public ClassLoader getClassLoader()(Code)(Java Doc)
public int getCurrentFileVersion()(Code)(Java Doc)
abstract public long getFilePointer()(Code)(Java Doc)
public int getImageCompression()(Code)(Java Doc)
public SceneGraphObject getNamedObject(String name) throws NamedObjectException, ObjectNotLoadedException(Code)(Java Doc)
public String[] getNames()(Code)(Java Doc)
public Class getNodeClassFromID(int classID)(Code)(Java Doc)
public int getNodeClassID(javax.media.j3d.SceneGraphObject node)(Code)(Java Doc)
public int getOutputFileVersion()(Code)(Java Doc)
final public SymbolTable getSymbolTable()(Code)(Java Doc)
public Bounds readBounds(DataInput in) throws IOException(Code)(Java Doc)
abstract protected void readBranchGraphs(int[] graphs) throws IOException(Code)(Java Doc)
public Color3f readColor3f(DataInput in) throws IOException(Code)(Java Doc)
public Color4f readColor4f(DataInput in) throws IOException(Code)(Java Doc)
public Matrix4d readMatrix4d(DataInput in) throws IOException(Code)(Java Doc)
protected void readNodeComponents(DataInput in) throws IOException(Code)(Java Doc)
public SceneGraphObjectState readObject(DataInput in) throws IOException(Code)(Java Doc)
public Point3d readPoint3d(DataInput in) throws IOException(Code)(Java Doc)
public Point3f readPoint3f(DataInput in) throws IOException(Code)(Java Doc)
public Quat4f readQuat4f(DataInput in) throws IOException(Code)(Java Doc)
public Object readSerializedData(DataInput dataInput) throws IOException(Code)(Java Doc)
public int readSharedGroup(DataInput in) throws IOException(Code)(Java Doc)
public Transform3D readTransform3D(DataInput in) throws IOException(Code)(Java Doc)
public Tuple3d readTuple3d(DataInput in, Tuple3d tuple) throws IOException(Code)(Java Doc)
public Tuple3f readTuple3f(DataInput in, Tuple3f tuple) throws IOException(Code)(Java Doc)
public Tuple4d readTuple4d(DataInput in, Tuple4d tuple) throws IOException(Code)(Java Doc)
public Tuple4f readTuple4f(DataInput in, Tuple4f tuple) throws IOException(Code)(Java Doc)
public ConfiguredUniverse readUniverse(DataInput in, boolean attachBranchGraphs, Canvas3D canvas) throws IOException(Code)(Java Doc)
public Vector3f readVector3f(DataInput in) throws IOException(Code)(Java Doc)
public Vector4d readVector4d(DataInput in) throws IOException(Code)(Java Doc)
public Vector4f readVector4f(DataInput in) throws IOException(Code)(Java Doc)
public void reset()(Code)(Java Doc)
public void setClassLoader(ClassLoader classLoader)(Code)(Java Doc)
public void skipUserData(DataInput dataInput) throws IOException(Code)(Java Doc)
public boolean useSuperClassIfNoChildClass()(Code)(Java Doc)
public void writeBounds(DataOutput out, Bounds bounds) throws IOException(Code)(Java Doc)
abstract public void writeBranchGraph(BranchGroup bg, java.io.Serializable userData) throws IOException(Code)(Java Doc)
public void writeColor3f(DataOutput out, Color3f color) throws IOException(Code)(Java Doc)
public void writeColor4f(DataOutput out, Color4f vec) throws IOException(Code)(Java Doc)
public void writeMatrix4d(DataOutput out, Matrix4d m) throws IOException(Code)(Java Doc)
protected void writeNodeComponents(DataOutput out) throws IOException(Code)(Java Doc)
public void writeObject(DataOutput out, SceneGraphObjectState obj) throws IOException(Code)(Java Doc)
public void writePoint3d(DataOutput out, Point3d pt) throws IOException(Code)(Java Doc)
public void writePoint3f(DataOutput out, Point3f pt) throws IOException(Code)(Java Doc)
public void writeQuat4f(DataOutput out, Quat4f vec) throws IOException(Code)(Java Doc)
public void writeSerializedData(DataOutput dataOutput, java.io.Serializable userData) throws IOException(Code)(Java Doc)
public void writeSharedGroup(DataOutput out, SharedGroup sharedGroup, SymbolTableData symbol) throws IOException(Code)(Java Doc)
public void writeTransform3D(DataOutput out, Transform3D tran) throws IOException(Code)(Java Doc)
public void writeTuple3d(DataOutput out, Tuple3d tuple) throws IOException(Code)(Java Doc)
public void writeTuple3f(DataOutput out, Tuple3f tuple) throws IOException(Code)(Java Doc)
public void writeTuple4d(DataOutput out, Tuple4d tuple) throws IOException(Code)(Java Doc)
public void writeTuple4f(DataOutput out, Tuple4f tuple) throws IOException(Code)(Java Doc)
public void writeUniverse(DataOutput out, SimpleUniverse universe, boolean writeUniverseContent) throws IOException, UnsupportedUniverseException, CapabilityNotSetException(Code)(Java Doc)
public void writeVector3f(DataOutput out, Vector3f vec) throws IOException(Code)(Java Doc)
public void writeVector4d(DataOutput out, Vector4d vec) throws IOException(Code)(Java Doc)
public void writeVector4f(DataOutput out, Vector4f vec) throws IOException(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

w__w__w_.___j__ava2___s__.___c___o__m_ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.