php.java.bridge
Class SimplePhpString

java.lang.Object
  extended by php.java.bridge.PhpString
      extended by php.java.bridge.SimplePhpString

final class SimplePhpString
extends PhpString


Field Summary
(package private)  JavaBridge bridge
           
(package private)  java.lang.String s
           
 
Constructor Summary
SimplePhpString(JavaBridge bridge, java.lang.String s)
           
 
Method Summary
 byte[] getBytes()
          Get the encoded byte representation
 java.lang.String getString()
          Get the encoded string representation
 
Methods inherited from class php.java.bridge.PhpString
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

s

java.lang.String s

bridge

JavaBridge bridge
Constructor Detail

SimplePhpString

SimplePhpString(JavaBridge bridge,
                java.lang.String s)
Method Detail

getString

public java.lang.String getString()
Description copied from class: PhpString
Get the encoded string representation

Specified by:
getString in class PhpString
Returns:
The encoded string.

getBytes

public byte[] getBytes()
Description copied from class: PhpString
Get the encoded byte representation

Specified by:
getBytes in class PhpString
Returns:
The encoded bytes.