Lines Matching refs:write

72     public void write(byte value, String name, byte defVal) throws IOException {
76 write(value);
79 public void write(byte[] value, String name, byte[] defVal)
84 write(value);
87 public void write(byte[][] value, String name, byte[][] defVal)
92 write(value);
95 public void write(int value, String name, int defVal) throws IOException {
99 write(value);
102 public void write(int[] value, String name, int[] defVal)
107 write(value);
110 public void write(int[][] value, String name, int[][] defVal)
115 write(value);
118 public void write(float value, String name, float defVal)
123 write(value);
126 public void write(float[] value, String name, float[] defVal)
131 write(value);
134 public void write(float[][] value, String name, float[][] defVal)
139 write(value);
142 public void write(double value, String name, double defVal)
147 write(value);
150 public void write(double[] value, String name, double[] defVal)
155 write(value);
158 public void write(double[][] value, String name, double[][] defVal)
163 write(value);
166 public void write(long value, String name, long defVal) throws IOException {
170 write(value);
173 public void write(long[] value, String name, long[] defVal)
178 write(value);
181 public void write(long[][] value, String name, long[][] defVal)
186 write(value);
189 public void write(short value, String name, short defVal)
194 write(value);
197 public void write(short[] value, String name, short[] defVal)
202 write(value);
205 public void write(short[][] value, String name, short[][] defVal)
210 write(value);
213 public void write(boolean value, String name, boolean defVal)
218 write(value);
221 public void write(boolean[] value, String name, boolean[] defVal)
226 write(value);
229 public void write(boolean[][] value, String name, boolean[][] defVal)
234 write(value);
237 public void write(String value, String name, String defVal)
242 write(value);
245 public void write(String[] value, String name, String[] defVal)
250 write(value);
253 public void write(String[][] value, String name, String[][] defVal)
258 write(value);
261 public void write(BitSet value, String name, BitSet defVal)
266 write(value);
269 public void write(Savable object, String name, Savable defVal)
274 write(object);
277 public void write(Savable[] objects, String name, Savable[] defVal)
282 write(objects);
285 public void write(Savable[][] objects, String name, Savable[][] defVal)
290 write(objects);
293 public void write(FloatBuffer value, String name, FloatBuffer defVal)
298 write(value);
301 public void write(IntBuffer value, String name, IntBuffer defVal)
306 write(value);
309 public void write(ByteBuffer value, String name, ByteBuffer defVal)
314 write(value);
317 public void write(ShortBuffer value, String name, ShortBuffer defVal)
322 write(value);
397 write(alias);
437 protected void write(byte value) throws IOException {
438 baos.write(value);
442 baos.write(value);
445 protected void write(byte[] value) throws IOException {
447 write(NULL_OBJECT);
450 write(value.length);
451 baos.write(value);
454 protected void write(byte[][] value) throws IOException {
456 write(NULL_OBJECT);
459 write(value.length);
461 write(value[x]);
466 protected void write(int value) throws IOException {
467 baos.write(deflate(ByteUtils.convertToBytes(value)));
476 baos.write(byteArray);
479 protected void write(int[] value) throws IOException {
481 write(NULL_OBJECT);
484 write(value.length);
486 write(value[x]);
489 protected void write(int[][] value) throws IOException {
491 write(NULL_OBJECT);
494 write(value.length);
496 write(value[x]);
501 protected void write(float value) throws IOException {
502 baos.write(ByteUtils.convertToBytes(value));
510 protected void write(float[] value) throws IOException {
512 write(NULL_OBJECT);
515 write(value.length);
517 write(value[x]);
520 protected void write(float[][] value) throws IOException {
522 write(NULL_OBJECT);
525 write(value.length);
527 write(value[x]);
532 protected void write(double value) throws IOException {
533 baos.write(ByteUtils.convertToBytes(value));
536 protected void write(double[] value) throws IOException {
538 write(NULL_OBJECT);
541 write(value.length);
543 write(value[x]);
546 protected void write(double[][] value) throws IOException {
548 write(NULL_OBJECT);
551 write(value.length);
553 write(value[x]);
558 protected void write(long value) throws IOException {
559 baos.write(deflate(ByteUtils.convertToBytes(value)));
562 protected void write(long[] value) throws IOException {
564 write(NULL_OBJECT);
567 write(value.length);
569 write(value[x]);
572 protected void write(long[][] value) throws IOException {
574 write(NULL_OBJECT);
577 write(value.length);
579 write(value[x]);
584 protected void write(short value) throws IOException {
585 baos.write(ByteUtils.convertToBytes(value));
592 baos.write(byteArray);
595 protected void write(short[] value) throws IOException {
597 write(NULL_OBJECT);
600 write(value.length);
602 write(value[x]);
605 protected void write(short[][] value) throws IOException {
607 write(NULL_OBJECT);
610 write(value.length);
612 write(value[x]);
617 protected void write(boolean value) throws IOException {
618 baos.write(ByteUtils.convertToBytes(value));
621 protected void write(boolean[] value) throws IOException {
623 write(NULL_OBJECT);
626 write(value.length);
628 write(value[x]);
631 protected void write(boolean[][] value) throws IOException {
633 write(NULL_OBJECT);
636 write(value.length);
638 write(value[x]);
643 protected void write(String value) throws IOException {
645 write(NULL_OBJECT);
648 // write our output as UTF-8. Java misspells UTF-8 as UTF8 for official use in java.lang
650 write(bytes.length);
651 baos.write(bytes);
654 protected void write(String[] value) throws IOException {
656 write(NULL_OBJECT);
659 write(value.length);
661 write(value[x]);
664 protected void write(String[][] value) throws IOException {
666 write(NULL_OBJECT);
669 write(value.length);
671 write(value[x]);
676 protected void write(BitSet value) throws IOException {
678 write(NULL_OBJECT);
681 write(value.size());
684 write(value.get(x));
716 protected void write(Savable object) throws IOException {
718 write(NULL_OBJECT);
722 write(id);
727 protected void write(Savable[] objects) throws IOException {
729 write(NULL_OBJECT);
732 write(objects.length);
734 write(objects[x]);
738 protected void write(Savable[][] objects) throws IOException {
740 write(NULL_OBJECT);
743 write(objects.length);
745 write(objects[x]);
753 write(NULL_OBJECT);
756 write(array.size());
758 write((Savable) bs);
765 write(NULL_OBJECT);
768 write(array.length);
777 write(NULL_OBJECT);
780 write(array.length);
791 write(NULL_OBJECT);
794 write(array.size());
796 write(new Savable[] { key, array.get(key) });
803 write(NULL_OBJECT);
806 write(array.size());
808 // write String array for keys
810 write(keys);
812 // write Savable array for values
814 write(values);
820 write(NULL_OBJECT);
823 write(array.size());
834 // write String array for keys
835 write(keys);
837 // write Savable array for values
838 write(values);
846 write(NULL_OBJECT);
849 write(array.size());
851 write(buf);
860 write(NULL_OBJECT);
863 write(array.size());
865 write(buf);
872 protected void write(FloatBuffer value) throws IOException {
874 write(NULL_OBJECT);
879 write(length);
888 protected void write(IntBuffer value) throws IOException {
890 write(NULL_OBJECT);
895 write(length);
905 protected void write(ByteBuffer value) throws IOException {
907 write(NULL_OBJECT);
912 write(length);
921 protected void write(ShortBuffer value) throws IOException {
923 write(NULL_OBJECT);
928 write(length);
935 public void write(Enum value, String name, Enum defVal) throws IOException {
941 write(value.name(), name, null);