| java.lang.Object org.pnuts.lang.NodeUtil
NodeUtil | public class NodeUtil (Code) | | |
Method Summary | |
public static void | addFunction(SimpleNode fnode, SimpleNode ss) | public static void | addImportNode(String def, SimpleNode ss) | static String | byteArrayToString(byte[] array, int len, StringBuffer sbuf) | public static String | byteArrayToString(byte[] array, int len) | static byte[] | charArrayToByteArray(char[] c) | public static SimpleNode | loadNode(String str) | static SimpleNode | parseNode(InputStream in) | public static SimpleNode | parseNode(String str) | static SimpleNode | parseNode(Reader in) | static int | readInt(Reader in) | public static SimpleNode | readNode(ObjectInputStream in) | static void | save(SimpleNode node, OutputStream w) | public static String | saveNode(SimpleNode node, StringBuffer sb) | public static String | saveNode(SimpleNode node) | public static void | setPackage(String pkg, SimpleNode ss) | public static byte[] | stringToByteArray(String s) | public static String | unparseNode(SimpleNode node) | static void | writeDigits(OutputStream os, int d) | static void | writeInt(OutputStream out, int v) | public static void | writeNode(ObjectOutputStream o, SimpleNode node) | static void | writeString(OutputStream os, String s) |
byteArrayToString | public static String byteArrayToString(byte[] array, int len)(Code) | | |
charArrayToByteArray | static byte[] charArrayToByteArray(char[] c)(Code) | | |
stringToByteArray | public static byte[] stringToByteArray(String s)(Code) | | |
|
|