Java Doc for StringHandler.java in  » Database-DBMS » db4o-6.4 » com » db4o » internal » handlers » 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 » Database DBMS » db4o 6.4 » com.db4o.internal.handlers 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.db4o.internal.handlers.VariableLengthTypeHandler
      com.db4o.internal.handlers.StringHandler

All known Subclasses:   com.db4o.internal.handlers.StringHandler0,  com.db4o.internal.handlers.StringHandler2,
StringHandler
abstract public class StringHandler extends VariableLengthTypeHandler implements IndexableTypeHandler,BuiltinTypeHandler(Code)



Constructor Summary
public  StringHandler(ObjectContainerBase container)
    
protected  StringHandler(TypeHandler4 template)
    

Method Summary
public  ReflectClassclassReflector()
    
final  intcompare(Buffer a_compare, Buffer a_with)
     returns: -x for left is greater and +x for right is greater TODO: You will need collators here for different languages.
final public static  intcompare(byte[] compare, byte[] with)
    
public  intcompareTo(Object obj)
    
public  voiddefrag(MarshallerFamily mf, BufferPair readers, boolean redirect)
    
public  voiddefragIndexEntry(BufferPair readers)
    
public  voiddeleteEmbedded(MarshallerFamily mf, StatefulBuffer buffer)
    
 bytegetIdentifier()
    
public  ObjectindexEntryToObject(Transaction trans, Object indexEntry)
    
protected static  Stringintern(Context context, String str)
    
protected static  voidinternalWrite(InternalObjectContainer objectContainer, WriteBuffer buffer, String str)
    
public  Comparable4prepareComparison(Object obj)
    
abstract public  Objectread(ReadContext context)
    
public  ObjectreadIndexEntry(MarshallerFamily mf, StatefulBuffer a_writer)
     This readIndexEntry method reads from the parent slot. TODO: Consider renaming methods in Indexable4 and Typhandler4 to make direction clear.
public  ObjectreadIndexEntry(Buffer reader)
     This readIndexEntry method reads from the actual index in the file. TODO: Consider renaming methods in Indexable4 and Typhandler4 to make direction clear.
public static  StringreadString(Context context, ReadBuffer buffer)
    
public static  StringreadStringNoDebug(Context context, ReadBuffer buffer)
    
protected static  LatinStringIOstringIo(Context context)
    
protected static  LatinStringIOstringIo(InternalObjectContainer objectContainer)
    
public  Bufferval(Object obj, ObjectContainerBase oc)
    
public  voidwrite(WriteContext context, Object obj)
    
public  voidwriteIndexEntry(Buffer writer, Object entry)
    
final public  voidwriteShort(Transaction trans, String str, Buffer buffer)
    
public static  BufferwriteToBuffer(InternalObjectContainer container, String str)
    


Constructor Detail
StringHandler
public StringHandler(ObjectContainerBase container)(Code)



StringHandler
protected StringHandler(TypeHandler4 template)(Code)




Method Detail
classReflector
public ReflectClass classReflector()(Code)



compare
final int compare(Buffer a_compare, Buffer a_with)(Code)
returns: -x for left is greater and +x for right is greater TODO: You will need collators here for different languages.



compare
final public static int compare(byte[] compare, byte[] with)(Code)



compareTo
public int compareTo(Object obj)(Code)



defrag
public void defrag(MarshallerFamily mf, BufferPair readers, boolean redirect)(Code)



defragIndexEntry
public void defragIndexEntry(BufferPair readers)(Code)



deleteEmbedded
public void deleteEmbedded(MarshallerFamily mf, StatefulBuffer buffer)(Code)



getIdentifier
byte getIdentifier()(Code)



indexEntryToObject
public Object indexEntryToObject(Transaction trans, Object indexEntry)(Code)



intern
protected static String intern(Context context, String str)(Code)



internalWrite
protected static void internalWrite(InternalObjectContainer objectContainer, WriteBuffer buffer, String str)(Code)



prepareComparison
public Comparable4 prepareComparison(Object obj)(Code)



read
abstract public Object read(ReadContext context)(Code)



readIndexEntry
public Object readIndexEntry(MarshallerFamily mf, StatefulBuffer a_writer) throws CorruptionException, Db4oIOException(Code)
This readIndexEntry method reads from the parent slot. TODO: Consider renaming methods in Indexable4 and Typhandler4 to make direction clear.
throws:
  CorruptionException -



readIndexEntry
public Object readIndexEntry(Buffer reader)(Code)
This readIndexEntry method reads from the actual index in the file. TODO: Consider renaming methods in Indexable4 and Typhandler4 to make direction clear.



readString
public static String readString(Context context, ReadBuffer buffer)(Code)



readStringNoDebug
public static String readStringNoDebug(Context context, ReadBuffer buffer)(Code)



stringIo
protected static LatinStringIO stringIo(Context context)(Code)



stringIo
protected static LatinStringIO stringIo(InternalObjectContainer objectContainer)(Code)



val
public Buffer val(Object obj, ObjectContainerBase oc)(Code)



write
public void write(WriteContext context, Object obj)(Code)



writeIndexEntry
public void writeIndexEntry(Buffer writer, Object entry)(Code)



writeShort
final public void writeShort(Transaction trans, String str, Buffer buffer)(Code)



writeToBuffer
public static Buffer writeToBuffer(InternalObjectContainer container, String str)(Code)



Methods inherited from com.db4o.internal.handlers.VariableLengthTypeHandler
abstract public int compareTo(Object obj)(Code)(Java Doc)
public ObjectContainerBase container()(Code)(Java Doc)
abstract public void defrag(MarshallerFamily mf, BufferPair readers, boolean redirect)(Code)(Java Doc)
final public int linkLength()(Code)(Java Doc)
abstract public Comparable4 prepareComparison(Object obj)(Code)(Java Doc)
protected Buffer readIndirectedBuffer(ReadContext readContext)(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)

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