Java Doc for SerUtils.java in  » Testing » PolePosition-0.20 » com » versant » core » common » 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 » Testing » PolePosition 0.20 » com.versant.core.common 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.versant.core.common.SerUtils

SerUtils
final public class SerUtils (Code)
Utility methods to help with Serialization.




Method Summary
public static  ObjectreadArrayField(FieldMetaData fmd, OIDObjectInput is)
    
public static  ObjectreadArrayField(int type, OIDObjectInput is)
    
public static  boolean[]readBooleanArray(ObjectInput in)
    
public static  Boolean[]readBooleanWArray(ObjectInput in)
    
public static  byte[]readByteArray(ObjectInput in)
    
public static  Byte[]readByteWArray(ObjectInput in)
    
public static  char[]readCharArray(ObjectInput in)
    
public static  Character[]readCharWArray(ObjectInput in)
    
public static  Object[]readCollectionArray(FieldMetaData fmd, OIDObjectInput in)
    
public static  ObjectreadCollectionOrMapField(OIDObjectInput in, FieldMetaData fmd)
     Read the value of a collection or map field from the stream.
public static  Date[]readDateArray(ObjectInput in)
    
public static  double[]readDoubleArray(ObjectInput in)
    
public static  Double[]readDoubleWArray(ObjectInput in)
    
public static  float[]readFloatArray(ObjectInput in)
    
public static  Float[]readFloatWArray(ObjectInput in)
    
public static  int[]readIntArray(ObjectInput in)
    
public static  Integer[]readIntegerArray(ObjectInput in)
    
public static  Locale[]readLocaleArray(ObjectInput in)
    
public static  long[]readLongArray(ObjectInput in)
    
public static  Long[]readLongWArray(ObjectInput in)
    
public static  MapEntriesreadMapEntries(FieldMetaData fmd, OIDObjectInput in)
    
final public static  OID[]readOIDArray(OIDObjectInput in)
    
public static  Object[]readOIDObjectArray(OIDObjectInput in)
    
public static  ObjectreadObject(ObjectInput dis)
    
public static  Object[]readObjectArray(ObjectInput in)
    
public static  short[]readShortArray(ObjectInput in)
    
public static  Short[]readShortWArray(ObjectInput in)
    
public static  ObjectreadSimpleField(FieldMetaData fmd, ObjectInput is)
    
public static  ObjectreadSimpleField(int typeCode, ObjectInput is)
    
public static  String[]readStringArray(ObjectInput in)
    
public static  voidwriteArrayField(FieldMetaData fmd, OIDObjectOutput os, Object data)
    
public static  voidwriteArrayField(int type, OIDObjectOutput os, Object toWrite)
    
public static  voidwriteBooleanArray(boolean[] array, ObjectOutput out)
    
public static  voidwriteBooleanWArray(Boolean[] array, ObjectOutput out)
    
public static  voidwriteByteArray(byte[] array, ObjectOutput out)
    
public static  voidwriteByteWArray(Byte[] array, ObjectOutput out)
    
public static  voidwriteCharArray(char[] array, ObjectOutput out)
    
public static  voidwriteCharWArray(Character[] array, ObjectOutput out)
    
public static  voidwriteCollectionArray(FieldMetaData fmd, Object data, OIDObjectOutput out)
    
public static  voidwriteCollectionOrMapField(OIDObjectOutput out, FieldMetaData fmd, Object data)
     Write the value of a collection or map field to the stream.
public static  voidwriteDateArray(Date[] array, ObjectOutput out)
    
public static  voidwriteDoubleArray(double[] array, ObjectOutput out)
    
public static  voidwriteDoubleWArray(Double[] array, ObjectOutput out)
    
public static  voidwriteFloatArray(float[] array, ObjectOutput out)
    
public static  voidwriteFloatWArray(Float[] array, ObjectOutput out)
    
public static  voidwriteIntArray(int[] array, ObjectOutput out)
    
public static  voidwriteIntegerArray(Integer[] array, ObjectOutput out)
    
public static  voidwriteLocaleArray(Locale[] array, ObjectOutput out)
    
public static  voidwriteLongArray(long[] array, ObjectOutput out)
    
public static  voidwriteLongWArray(Long[] array, ObjectOutput out)
    
public static  voidwriteMapEntries(FieldMetaData fmd, OIDObjectOutput out, MapEntries data)
    
final public static  voidwriteOIDArray(OID[] oids, OIDObjectOutput out)
    
public static  voidwriteOIDObjectArray(Object[] oids, OIDObjectOutput out)
     This writes the Object[] of oids that is send as part of a collection read from the store.
public static  voidwriteObject(Object o, ObjectOutput dos)
    
public static  voidwriteObjectArray(Object[] array, ObjectOutput out)
    
public static  voidwriteShortArray(short[] array, ObjectOutput out)
    
public static  voidwriteShortWArray(Short[] array, ObjectOutput out)
    
public static  voidwriteSimpleField(FieldMetaData fmd, ObjectOutput os, Object toWrite)
    
public static  voidwriteSimpleField(int typeCode, ObjectOutput os, Object toWrite)
    
public static  voidwriteStringArray(String[] array, ObjectOutput out)
    



Method Detail
readArrayField
public static Object readArrayField(FieldMetaData fmd, OIDObjectInput is) throws IOException, ClassNotFoundException(Code)



readArrayField
public static Object readArrayField(int type, OIDObjectInput is) throws IOException, ClassNotFoundException(Code)



readBooleanArray
public static boolean[] readBooleanArray(ObjectInput in) throws IOException(Code)



readBooleanWArray
public static Boolean[] readBooleanWArray(ObjectInput in) throws IOException(Code)



readByteArray
public static byte[] readByteArray(ObjectInput in) throws IOException(Code)



readByteWArray
public static Byte[] readByteWArray(ObjectInput in) throws IOException(Code)



readCharArray
public static char[] readCharArray(ObjectInput in) throws IOException(Code)



readCharWArray
public static Character[] readCharWArray(ObjectInput in) throws IOException(Code)



readCollectionArray
public static Object[] readCollectionArray(FieldMetaData fmd, OIDObjectInput in) throws IOException, ClassNotFoundException(Code)



readCollectionOrMapField
public static Object readCollectionOrMapField(OIDObjectInput in, FieldMetaData fmd) throws IOException, ClassNotFoundException(Code)
Read the value of a collection or map field from the stream.
See Also:   SerUtils.writeCollectionOrMapField



readDateArray
public static Date[] readDateArray(ObjectInput in) throws IOException(Code)



readDoubleArray
public static double[] readDoubleArray(ObjectInput in) throws IOException(Code)



readDoubleWArray
public static Double[] readDoubleWArray(ObjectInput in) throws IOException(Code)



readFloatArray
public static float[] readFloatArray(ObjectInput in) throws IOException(Code)



readFloatWArray
public static Float[] readFloatWArray(ObjectInput in) throws IOException(Code)



readIntArray
public static int[] readIntArray(ObjectInput in) throws IOException(Code)



readIntegerArray
public static Integer[] readIntegerArray(ObjectInput in) throws IOException(Code)



readLocaleArray
public static Locale[] readLocaleArray(ObjectInput in) throws IOException(Code)



readLongArray
public static long[] readLongArray(ObjectInput in) throws IOException(Code)



readLongWArray
public static Long[] readLongWArray(ObjectInput in) throws IOException(Code)



readMapEntries
public static MapEntries readMapEntries(FieldMetaData fmd, OIDObjectInput in) throws IOException, ClassNotFoundException(Code)



readOIDArray
final public static OID[] readOIDArray(OIDObjectInput in) throws IOException, ClassNotFoundException(Code)



readOIDObjectArray
public static Object[] readOIDObjectArray(OIDObjectInput in) throws IOException, ClassNotFoundException(Code)



readObject
public static Object readObject(ObjectInput dis) throws IOException, ClassNotFoundException(Code)



readObjectArray
public static Object[] readObjectArray(ObjectInput in) throws IOException, ClassNotFoundException(Code)



readShortArray
public static short[] readShortArray(ObjectInput in) throws IOException(Code)



readShortWArray
public static Short[] readShortWArray(ObjectInput in) throws IOException(Code)



readSimpleField
public static Object readSimpleField(FieldMetaData fmd, ObjectInput is) throws IOException, ClassNotFoundException(Code)



readSimpleField
public static Object readSimpleField(int typeCode, ObjectInput is) throws IOException, ClassNotFoundException(Code)



readStringArray
public static String[] readStringArray(ObjectInput in) throws IOException(Code)



writeArrayField
public static void writeArrayField(FieldMetaData fmd, OIDObjectOutput os, Object data) throws IOException(Code)



writeArrayField
public static void writeArrayField(int type, OIDObjectOutput os, Object toWrite) throws IOException(Code)



writeBooleanArray
public static void writeBooleanArray(boolean[] array, ObjectOutput out) throws IOException(Code)



writeBooleanWArray
public static void writeBooleanWArray(Boolean[] array, ObjectOutput out) throws IOException(Code)



writeByteArray
public static void writeByteArray(byte[] array, ObjectOutput out) throws IOException(Code)



writeByteWArray
public static void writeByteWArray(Byte[] array, ObjectOutput out) throws IOException(Code)



writeCharArray
public static void writeCharArray(char[] array, ObjectOutput out) throws IOException(Code)



writeCharWArray
public static void writeCharWArray(Character[] array, ObjectOutput out) throws IOException(Code)



writeCollectionArray
public static void writeCollectionArray(FieldMetaData fmd, Object data, OIDObjectOutput out) throws IOException(Code)



writeCollectionOrMapField
public static void writeCollectionOrMapField(OIDObjectOutput out, FieldMetaData fmd, Object data) throws IOException(Code)
Write the value of a collection or map field to the stream. This can handle raw collection or map data as well as diffs.
See Also:   SerUtils.readCollectionOrMapField



writeDateArray
public static void writeDateArray(Date[] array, ObjectOutput out) throws IOException(Code)



writeDoubleArray
public static void writeDoubleArray(double[] array, ObjectOutput out) throws IOException(Code)



writeDoubleWArray
public static void writeDoubleWArray(Double[] array, ObjectOutput out) throws IOException(Code)



writeFloatArray
public static void writeFloatArray(float[] array, ObjectOutput out) throws IOException(Code)



writeFloatWArray
public static void writeFloatWArray(Float[] array, ObjectOutput out) throws IOException(Code)



writeIntArray
public static void writeIntArray(int[] array, ObjectOutput out) throws IOException(Code)



writeIntegerArray
public static void writeIntegerArray(Integer[] array, ObjectOutput out) throws IOException(Code)



writeLocaleArray
public static void writeLocaleArray(Locale[] array, ObjectOutput out) throws IOException(Code)



writeLongArray
public static void writeLongArray(long[] array, ObjectOutput out) throws IOException(Code)



writeLongWArray
public static void writeLongWArray(Long[] array, ObjectOutput out) throws IOException(Code)



writeMapEntries
public static void writeMapEntries(FieldMetaData fmd, OIDObjectOutput out, MapEntries data) throws IOException(Code)



writeOIDArray
final public static void writeOIDArray(OID[] oids, OIDObjectOutput out) throws IOException(Code)



writeOIDObjectArray
public static void writeOIDObjectArray(Object[] oids, OIDObjectOutput out) throws IOException(Code)
This writes the Object[] of oids that is send as part of a collection read from the store.



writeObject
public static void writeObject(Object o, ObjectOutput dos) throws IOException(Code)



writeObjectArray
public static void writeObjectArray(Object[] array, ObjectOutput out) throws IOException(Code)



writeShortArray
public static void writeShortArray(short[] array, ObjectOutput out) throws IOException(Code)



writeShortWArray
public static void writeShortWArray(Short[] array, ObjectOutput out) throws IOException(Code)



writeSimpleField
public static void writeSimpleField(FieldMetaData fmd, ObjectOutput os, Object toWrite) throws IOException(Code)



writeSimpleField
public static void writeSimpleField(int typeCode, ObjectOutput os, Object toWrite) throws IOException(Code)



writeStringArray
public static void writeStringArray(String[] array, ObjectOutput out) throws IOException(Code)



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)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.