Lines Matching defs:file
4 * The contents of this file are subject to the terms of the
6 * You may not use this file except in compliance with the License.
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
38 * instance, writing it to a file, then reading it back in and comparing
81 static File file;
92 getXMLEncoder(File file)
97 (new FileOutputStream(file));
107 getXMLDecoder(File file)
109 return getXMLDecoder(file, null);
113 getXMLDecoder(File file, ExceptionListener exceptionListener)
118 (new FileInputStream(file));
520 OutputStream out = new FileOutputStream(file);
525 p = consumer.compile(file);
588 performSerializationTest(File file, String classname)
605 FileOutputStream fos = new FileOutputStream(file);
609 FileInputStream fis = new FileInputStream(file);
624 performBeanTest(File file, String classname)
643 XMLEncoder encoder = getXMLEncoder(file);
648 XMLDecoder decoder = getXMLDecoder(file);
676 file = new File(filename);
678 if (!file.canRead()) {
680 file.createNewFile();
695 performSerializationTest(file, tests[i]);
696 performBeanTest(file, tests[i]);