/openjdk7/jdk/test/sun/net/www/http/HttpClient/ |
H A D | ProxyTest.java | 9 * This code is distributed in the hope that it will be useful, but WITHOUT 12 * version 2 for more details (a copy is included in the LICENSE file that 45 * Proxy server as an innerclass. Has to run in a separate thread 59 BufferedReader in; field in class:ProxyTest.HttpProxyServer.HttpProxyHandler 71 in = new BufferedReader(new InputStreamReader(client.getInputStream())); 83 String str = in.readLine(); 169 BufferedReader in = null; 179 in = new BufferedReader(new InputStreamReader(ins)); 182 line = in.readLine(); 184 in [all...] |
/openjdk7/jdk/test/sun/net/www/protocol/jar/jarbug/src/test/ |
H A D | JarTest.java | 9 * This code is distributed in the hope that it will be useful, but WITHOUT 12 * version 2 for more details (a copy is included in the LICENSE file that 37 protected byte[] readFully(InputStream in) throws Exception { argument 42 while ((count = in.read(buffer)) >= 0) { 55 InputStream in = null; 64 in = getClass().getResourceAsStream(resName); 67 while ((count = in.read(buffer)) >= 0) { 78 if (in != null) { 80 in.close();
|
/openjdk7/jdk/src/share/classes/sun/rmi/transport/proxy/ |
H A D | HttpInputStream.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 46 * @param in the InputStream to filter from 48 public HttpInputStream(InputStream in) throws IOException argument 50 super(in); 52 if (in.markSupported()) 53 in.mark(0); // prevent resetting back to old marks 57 DataInputStream dis = new DataInputStream(in); 85 // it does include the line-terminating character(s) in th [all...] |
H A D | HttpSendInputStream.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 42 * @param in the InputStream to filter from 45 public HttpSendInputStream(InputStream in, HttpSendSocket owner) argument 48 super(in); 60 in = null; 68 if (in == null) 69 in = owner.readNotify(); 70 return in [all...] |
/openjdk7/langtools/test/tools/javac/nio/compileTest/ |
H A D | CompileTest.java | 9 * This code is distributed in the hope that it will be useful, but WITHOUT 12 * version 2 for more details (a copy is included in the LICENSE file that 148 void copy(InputStream in, File dest) throws IOException { argument 154 while ((n = in.read(data, 0, data.length)) > 0) 158 in.close();
|
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/dom/ |
H A D | PSVIDocumentImpl.java | 9 * you may not use this file except in compliance with the License. 14 * Unless required by applicable law or agreed to in writing, software 54 * The createDocument factory method is in DOMImplementation. 145 private void readObject(ObjectInputStream in) argument
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/tools/soql/ |
H A D | SOQL.java | 9 * This code is distributed in the hope that it will be useful, but WITHOUT 12 * version 2 for more details (a copy is included in the LICENSE file that 48 protected BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); field in class:SOQL 58 String line = in.readLine(); 95 tmp = in.readLine(); 168 out.println("\tno fields in this class");
|
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | LegacyGlueFocusTraversalPolicy.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 193 private void readObject(ObjectInputStream in) argument 196 in.defaultReadObject(); 197 delegatePolicy = (FocusTraversalPolicy)in.readObject(); 198 delegateManager = (DefaultFocusManager)in.readObject();
|
/openjdk7/jdk/src/share/classes/javax/swing/text/rtf/ |
H A D | AbstractFilter.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 83 * The format in which the file 91 * @param in An InputStream providing text. 93 public void readFromStream(InputStream in) argument 102 count = in.read(buf); 110 public void readFromReader(Reader in) argument 119 count = in.read(buf);
|
/openjdk7/jdk/src/share/classes/sun/audio/ |
H A D | AudioDevice.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 91 InputStream in ) throws UnsupportedAudioFileException, 115 info = new Info( null, in, datapusher ); 122 InputStream in ) throws InvalidMidiDataException, 136 info = new Info( sequencer, in, null ); 152 public synchronized void openChannel(InputStream in) { argument 157 System.out.println("input stream =" + in); 165 if( info.in 281 closeChannel(InputStream in) argument 406 final InputStream in; field in class:AudioDevice.Info 409 Info( Sequencer sequencer, InputStream in, DataPusher datapusher ) argument [all...] |
/openjdk7/jdk/src/share/classes/java/beans/ |
H A D | XMLDecoder.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 44 * in an XML document written by the <code>XMLEncoder</code> 58 * an article in <em>The Swing Connection.</em> 78 * @param in The underlying stream. 82 public XMLDecoder(InputStream in) { argument 83 this(in, null); 90 * @param in The underlying stream. 94 public XMLDecoder(InputStream in, Objec argument 107 XMLDecoder(InputStream in, Object owner, ExceptionListener exceptionListener) argument 126 XMLDecoder(InputStream in, Object owner, ExceptionListener exceptionListener, ClassLoader cl) argument 180 close(Closeable in) argument [all...] |
/openjdk7/jdk/src/share/classes/java/io/ |
H A D | BufferedInputStream.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 40 * operation remembers a point in the input 66 * "in" field is also nulled out on close.) 74 * The index one greater than the index of the last valid byte in 77 * in the range <code>0</code> through <code>buf.length</code>; 85 * The current position in the buffer. This is the index of the next 88 * This value is always in the range <code>0</code> 106 * in th 174 BufferedInputStream(InputStream in) argument 190 BufferedInputStream(InputStream in, int size) argument [all...] |
H A D | DataInputStream.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 30 * types from an underlying input stream in a machine-independent 36 * methods in this class. 49 * @param in the specified input stream 51 public DataInputStream(InputStream in) { argument 52 super(in); 78 * be the number of bytes actually read; these bytes will be stored in 96 * @see java.io.FilterInputStream#in 588 readUTF(DataInput in) argument [all...] |
H A D | LineNumberReader.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 38 * <tt>setLineNumber(int)</tt> does not actually change the current position in 68 * @param in 71 public LineNumberReader(Reader in) { argument 72 super(in); 79 * @param in 85 public LineNumberReader(Reader in, int sz) { argument 86 super(in, s [all...] |
H A D | PipedInputStream.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 80 * The index of the position in the circular buffer at which the 82 * piped output stream. <code>in<0</code> implies the buffer is empty, 83 * <code>in==out</code> implies the buffer is full 86 protected int in = -1; field in class:PipedInputStream 89 * The index of the position in the circular buffer at which the next 204 if (in == out) 206 if (in < [all...] |
H A D | PipedReader.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 59 * The index of the position in the circular buffer at which the 61 * piped writer. <code>in<0</code> implies the buffer is empty, 62 * <code>in==out</code> implies the buffer is full 64 int in = -1; field in class:PipedReader 67 * The index of the position in the circular buffer at which the next 179 while (in == out) { 191 if (in < [all...] |
H A D | PushbackInputStream.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 32 * one byte. This is useful in situations where 73 if (in == null) 81 * <code>in</code>, for later use. Initially, 86 * @param in the input stream from which bytes will be read. 91 public PushbackInputStream(InputStream in, int size) { argument 92 super(in); 103 * <code>in</cod 110 PushbackInputStream(InputStream in) argument [all...] |
H A D | PushbackReader.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 42 /** Current position in buffer */ 48 * @param in The reader from which characters will be read 52 public PushbackReader(Reader in, int size) { argument 53 super(in); 64 * @param in The reader from which characters will be read 66 public PushbackReader(Reader in) { argument 67 this(in, [all...] |
/openjdk7/jdk/src/share/classes/java/rmi/server/ |
H A D | ObjID.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 182 * @param in the <code>ObjectInput</code> instance to read 190 public static ObjID read(ObjectInput in) throws IOException { argument 191 long num = in.readLong(); 192 UID space = UID.read(in); 234 * The address space identifier is only included in the string
|
H A D | UID.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 46 * the VM that this <code>UID</code> was generated in, with respect to its 53 * <code>UID</code> was generated in was alive, 56 * <code>UID</code>s generated in the same VM with the same 85 * was generated in with respect to its host and at the given time 92 * the VM that this <code>UID</code> was generated in was alive 99 * in the same VM with the same time value 255 * @param in th 263 read(DataInput in) argument [all...] |
/openjdk7/jdk/src/share/classes/java/security/ |
H A D | Permissions.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 49 * this class, they are all stored in a single 51 * the <code>newPermissionCollection</code> method in the FilePermission class. 53 * stored in the PermissionCollection returned by a call to the 54 * <code>newPermissionCollection</code> method in the 59 * Permission is stored in the appropriate PermissionCollection. If no such 111 * in this Permissions object. 149 * expressed in th 382 readObject(ObjectInputStream in) argument 585 readObject(ObjectInputStream in) argument [all...] |
/openjdk7/jdk/src/share/classes/java/util/ |
H A D | XMLUtils.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 38 * A class used to aid in Properties load and save in XML. Keeping this 69 static void load(Properties props, InputStream in) argument 74 doc = getLoadingDoc(in); 89 static Document getLoadingDoc(InputStream in) argument 101 InputSource is = new InputSource(in);
|
/openjdk7/jdk/src/share/classes/java/util/jar/ |
H A D | JarInputStream.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 58 * @param in the actual input stream 61 public JarInputStream(InputStream in) throws IOException { argument 62 this(in, true); 70 * @param in the actual input stream 75 public JarInputStream(InputStream in, boolean verify) throws IOException { argument 76 super(in); 133 * the next entry will result in a [all...] |
/openjdk7/jdk/src/share/classes/java/util/zip/ |
H A D | DeflaterInputStream.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 33 * Implements an input stream filter for compressing data in the "deflate" 64 if (in == null) { 73 * @param in input stream to read the uncompressed data to 74 * @throws NullPointerException if {@code in} is null 76 public DeflaterInputStream(InputStream in) { argument 77 this(in, new Deflater()); 85 * @param in inpu 89 DeflaterInputStream(InputStream in, Deflater defl) argument 103 DeflaterInputStream(InputStream in, Deflater defl, int bufLen) argument [all...] |
H A D | InflaterInputStream.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 34 * This class implements a stream filter for uncompressing data in the 75 * @param in the input stream 80 public InflaterInputStream(InputStream in, Inflater inf, int size) { argument 81 super(in); 82 if (in == null || inf == null) { 94 * @param in the input stream 97 public InflaterInputStream(InputStream in, Inflate argument 107 InflaterInputStream(InputStream in) argument [all...] |