/openjdk7/jdk/src/share/classes/java/awt/datatransfer/ |
H A D | DataFlavor.java | 5 * This code is free software; you can redistribute it and/or modify it 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 37 * is typically used to access data on the clipboard, or during 43 * A content type is typically referred to as a MIME type. 53 * transferred. In other words, the representation class is the type of 55 * For example, the MIME type of {@link #imageFlavor} is 57 * the primary type is {@code image}, the subtype is 58 * {@code x-java-image}, and the representation class is 1285 readExternal(ObjectInput is) argument [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/packaging/mime/internet/ |
H A D | MimeBodyPart.java | 5 * This code is free software; you can redistribute it and/or modify it 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 73 * SMTP). Received headers may have been folded. The application is 113 Data is represented in one of three forms. 135 * <code>contentStream</code> is another such stream representing 161 * An empty MimeBodyPart object is created. 178 * is that the MimeMultipart parser will extract each body part's bytes 182 * @param is the body part Input Stream 184 public MimeBodyPart(InputStream is) throw argument [all...] |
H A D | MimeUtility.java | 5 * This code is free software; you can redistribute it and/or modify it 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 45 * This is a utility class that provides various MIME related 49 * per RFC 2047. A brief description on handling such headers is 58 * In Java, Strings contain (16 bit) Unicode characters. ASCII is a 60 * that contains only ASCII characters is already mail-safe. If the 62 * additional complexity in this step is that since Unicode is not 94 * If the <code>mail.mime.decodetext.strict</code> System property is 298 decode(InputStream is, String encoding) argument 1232 loadMappings(LineInputStream is, Hashtable table) argument 1346 checkAscii(InputStream is, int max, boolean breakOnNonAscii) argument [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/xml/ |
H A D | XMLMessage.java | 5 * This code is free software; you can redistribute it and/or modify it 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 205 * messages is to be access as data source. 224 * It's conent-type is some XML type 350 public XMLMultiPart(final String contentType, final InputStream is, WSBinding binding) { argument 352 dataSource = createDataSource(contentType, is); 479 * Don't know about this content. It's conent-type is NOT the XML types 595 public static DataSource createDataSource(final String contentType, final InputStream is) { argument 596 return new XmlDataSource(contentType, is); 601 private final InputStream is; field in class:XMLMessage.XmlDataSource 604 XmlDataSource(String contentType, final InputStream is) argument [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/org/objectweb/asm/ |
H A D | ClassReader.java | 5 * This code is free software; you can redistribute it and/or modify it 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 27 * This file is available under and governed by the GNU General Public 102 * Flag to skip method code. If this class is set <code>CODE</code> 109 * Flag to skip the debug information in the class. If this flag is set the 110 * debug information of the class is not visited, i.e. the 118 * Flag to skip the stack map frames in the class. If this flag is set the 119 * stack map frames of the class is not visited, i.e. the 121 * This flag is usefu 388 ClassReader(final InputStream is) argument 410 readClass(final InputStream is) argument [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/ |
H A D | DeploymentDescriptorParser.java | 5 * This code is free software; you can redistribute it and/or modify it 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 82 * {@link HttpAdapter} and its derived type is used for this often, 130 public @NotNull List<A> parse(String systemId, InputStream is) { argument 134 XMLStreamReaderFactory.create(systemId,is,true), is); 146 is.close(); 237 // TODO use 'docs' as the metadata. If wsdl is non-null it's the primary. 265 * is returne [all...] |
/openjdk7/jdk/test/sun/security/ssl/sun/net/www/httpstest/ |
H A D | HttpServer.java | 5 * This code is free software; you can redistribute it and/or modify it 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 * each request. (this is easier to implement with SSLEngine) 67 * for handling requests. One thread is created to handle requests, 69 * @param cb the callback object which is invoked to handle each 80 * the same as the 4 arg constructor, where the port argument is set to zero. 81 * @param cb the callback object which is invoked to handle each 98 * handle incoming requests, and each thread is allowed 100 * @param cb the callback object which is invoke 471 readNormalData(InputStream is, int len) argument 481 readCRLF(InputStream is) argument 492 readChunkedData(InputStream is) argument 512 readChunkLen(InputStream is) argument 538 readLine(InputStream is) argument [all...] |
/openjdk7/jdk/test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/ |
H A D | TunnelProxy.java | 5 * This code is free software; you can redistribute it and/or modify it 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 44 * for handling requests. One thread is created to handle requests, 46 * @param cb the callback object which is invoked to handle each 57 * the same as the 4 arg constructor, where the port argument is set to zero. 58 * @param cb the callback object which is invoked to handle each 75 * handle incoming requests, and each thread is allowed 77 * @param cb the callback object which is invoked to handle 102 * This is a 291 readLine(InputStream is) argument 520 Pipeline(InputStream is, OutputStream os) argument [all...] |
/openjdk7/jdk/test/sun/security/tools/keytool/ |
H A D | KeyToolTest.java | 5 * This code is free software; you can redistribute it and/or modify it 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 96 // so that there is "Warning" and not translated into other language 116 * if <code>cmd</code> is running on a terminal 124 // "X" is appended so that we can precisely test how input is consumed 127 // make sure the input string is no more no less 152 // since System.in is overrided, the KeyTool.main() method will 205 void testOK(InputStream is, Strin argument 218 testFail(InputStream is, String cmd) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/security/jgss/spi/ |
H A D | GSSContextSpi.java | 5 * This code is free software; you can redistribute it and/or modify it 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 * This interface is implemented by a mechanism specific instance of a GSS 45 * -after it is established 52 * and the context flags before the context is fully established. The 53 * isProtReady method is used to indicate that these services are 60 * depending on whether a token is received or is being sent. The mechanism 64 * entirely by the mechanism. It is possibl 191 initSecContext(InputStream is, int mechTokenSize) argument 231 acceptSecContext(InputStream is, int mechTokenSize) argument 263 wrap(InputStream is, OutputStream os, MessageProp msgProp) argument 312 unwrap(InputStream is, OutputStream os, MessageProp msgProp) argument 356 getMIC(InputStream is, OutputStream os, MessageProp msgProp) argument 373 verifyMIC(InputStream is, InputStream msgStr, MessageProp mProp) argument [all...] |
/openjdk7/jdk/src/share/demo/applets/MoleculeViewer/ |
H A D | XYZApp.java | 33 * This source code is provided to illustrate the usage of a given feature 99 XYZChemModel(InputStream is) throws Exception { argument 102 new BufferedReader(new InputStreamReader(is, "UTF-8"))); 138 is.close(); 212 * order is pretty stable, so I just use what I had last time as a 348 InputStream is = null; 351 is = new URL(getDocumentBase(), mdname).openStream(); 352 XYZChemModel m = new XYZChemModel(is); 374 if (is != null) { 375 is [all...] |
/openjdk7/jdk/src/share/demo/applets/WireFrame/ |
H A D | ThreeD.java | 33 * This source code is provided to illustrate the usage of a given feature 80 Model3D(InputStream is) throws IOException, FileFormatException { argument 83 new BufferedReader(new InputStreamReader(is, "UTF-8"))); 145 is.close(); 225 /* find the first element that is greater than or equal to 232 /* find an element that is smaller than or equal to 416 InputStream is = null; 419 is = new URL(getDocumentBase(), mdname).openStream(); 420 Model3D m = new Model3D(is); 441 if (is ! [all...] |
/openjdk7/jdk/src/share/classes/sun/net/httpserver/ |
H A D | SSLStreams.java | 5 * This code is free software; you can redistribute it and/or modify it 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 55 InputStream is; field in class:SSLStreams 142 if (is == null) { 143 is = new InputStream(); 145 return is; 175 * a reallocated buffer is returned here 223 * flip is set to true if the old buffer needs to be flipped 224 * before it is copie [all...] |
/openjdk7/jdk/src/share/classes/sun/nio/cs/ |
H A D | CharsetMapping.java | 5 * This code is free software; you can redistribute it and/or modify it 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 82 // so only the xxxx part is now stored, should actually store the 137 public static CharsetMapping get(final InputStream is) { argument 140 return new CharsetMapping().load(is);
|
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/resolver/ |
H A D | Catalog.java | 18 * distributed under the License is distributed on an "AS IS" BASIS, 59 * <p>The primary purpose of the Catalog is to associate resources in the 80 * initial base URI is the URI of the location of the catalog (which is, 123 * changes the override behavior. Initial behavior is set by the 125 * behavior is 'YES', that is, entries in the catalog override 140 * the relative URI "foo" is resolved to the absolute URI 171 * <p>(Where ":" is the separater character in this example.)</p> 173 * character, no special processig is performe 626 parseCatalog(String mimeType, InputStream is) argument [all...] |
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/corba/ |
H A D | TypeCodeImpl.java | 5 * This code is free software; you can redistribute it and/or modify it 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 128 // This is also used in AnyImpl. 197 // ... but only if caching is enabled 221 // This is a protection against misuse of this constructor. 222 // Should only be used if tc is not an instance of this class! 328 // this is being used to create typecode for CORBA::Object 401 // check whether this is the default branch. 560 // This is th 1267 read_value(InputStream is) argument 1284 read_value_recursive(TypeCodeInputStream is) argument 1343 read_value_kind(InputStream is) argument 1360 read_value_body(InputStream is) argument [all...] |
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/encoding/ |
H A D | CDRInputStream.java | 5 * This code is free software; you can redistribute it and/or modify it 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 52 * This is delegates to the real implementation. 93 // Required for the case when a ClientResponseImpl is 104 public CDRInputStream(CDRInputStream is) { argument 105 impl = is.impl.dup(); 427 * return true if our ByteBuffer is sharing/equal to bb 487 * it just returns. This is used for some (but not all) 502 * after reading the service contexts, since that is th [all...] |
H A D | IDLJavaSerializationInputStream.java | 5 * This code is free software; you can redistribute it and/or modify it 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 69 * 12 bytes, that is, the GIOPHeader is read directly from the received 70 * message, before this stream object is called. So, this class effectively 82 private ObjectInputStream is; field in class:IDLJavaSerializationInputStream 176 // Note: at this point, the buffer position is zero. The setIndex() 183 //System.out.print(" is "); 184 if (is ! [all...] |
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/ |
H A D | ParseException.java | 5 * This code is free software; you can redistribute it and/or modify it 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 70 * is not a warning, and create a new ParseException. 212 static ParseException invalidConst (Scanner scanner, String mustBe, String is) argument 214 return arg2 ("invalidConst1", scanner, mustBe, is); 362 static ParseException wrongType (Scanner scanner, String name, String mustBe, String is) argument 365 String[] parameters = {filename, Integer.toString (lineNumber), name, is, mustBe, line, pointer}; 369 static ParseException wrongExprType (Scanner scanner, String mustBe, String is) argument 373 is, mustB [all...] |
/openjdk7/jdk/src/share/classes/sun/applet/ |
H A D | AppletViewer.java | 5 * This code is free software; you can redistribute it and/or modify it 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 128 * The panel in which the applet is being displayed. 244 // The cause of this bug is that the frame of the applet 245 // is created in main thread group. Thus, when certain 283 * On start-up the current behaviour is to load the applet and call 287 // appletviewer.send.event is an undocumented and unsupported system 288 // property which is used exclusively for testing purposes. 301 // The list of events that will be executed is provide 1058 makeReader(InputStream is) argument [all...] |
/openjdk7/jdk/src/share/classes/java/net/ |
H A D | URLConnection.java | 5 * This code is free software; you can redistribute it and/or modify it 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 43 * The abstract class <code>URLConnection</code> is the superclass 47 * general, creating a connection to a URL is a multistep process: 61 * <li>The connection object is created by invoking the 64 * <li>The actual connection to the remote object is made, using the 95 * the contents after the connection is made to the remote object: 114 * <code>getContentType</code> method is used by the 134 * In JDK 1.1.6 and later, <code>fileNameMap</code> is privat 1419 guessContentTypeFromStream(InputStream is) argument 1584 checkfpx(InputStream is) argument 1745 readBytes(int c[], int len, InputStream is) argument 1766 skipForward(InputStream is, long toSkip) argument [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/ |
H A D | Options.java | 5 * This code is free software; you can redistribute it and/or modify it 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 82 /** If "-debug" is specified. */ 85 /** If the "-verbose" option is specified. */ 88 /** If the "-quiet" option is specified. */ 91 /** If the -readOnly option is specified. */ 100 /** When on, generates content property for types with multiple xs:any derived elements (which is supposed to be correct behaviour) */ 113 * If -explicit-annotation option is specified. 173 * This field is no 418 absolutize(InputSource is) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/security/jgss/krb5/ |
H A D | CipherHelper.java | 5 * This code is free software; you can redistribute it and/or modify it 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 81 // proto is used to determine new GSS token format for "newer" etypes 148 * With this sign algorithm, first an MD5 hash is computed on the 149 * application data. The 16 byte hash is then DesCbc encrypted. 174 // System.out.println("\tMD5 Checksum is [" + 285 // for MIC tokens, key derivation salt is 15 414 // ivec passed is the checksum 480 // ivec passed is th 1021 desCbcDecrypt(WrapToken token, byte[] key, InputStream is, int len, byte[] dataOutBuf, int dataOffset) argument 1435 private InputStream is; field in class:CipherHelper.WrapTokenInputStream 1441 WrapTokenInputStream(InputStream is, int length) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/security/jgss/spnego/ |
H A D | SpNegoContext.java | 5 * This code is free software; you can redistribute it and/or modify it 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 208 * establishment. Since this is fromm the client's perspective, it 218 * Is mutual authentication enabled? Since this is from the client's 219 * perspective, it essentially meas that the server is being 252 * Tests if this is the initiator side of the context. 254 * @return boolean indicating if this is initiator (true) 277 * is received from the peer. 279 * @param is contain 286 initSecContext(InputStream is, int mechTokenSize) argument 480 acceptSecContext(InputStream is, int mechTokenSize) argument 1097 wrap(InputStream is, OutputStream os, MessageProp msgProp) argument 1118 unwrap(InputStream is, OutputStream os, MessageProp msgProp) argument 1139 getMIC(InputStream is, OutputStream os, MessageProp msgProp) argument 1162 verifyMIC(InputStream is, InputStream msgStr, MessageProp msgProp) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/security/jgss/wrapper/ |
H A D | NativeGSSContext.java | 5 * This code is free software; you can redistribute it and/or modify it 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 * This class is essentially a wrapper class for the gss_ctx_id_t 155 private byte[] retrieveToken(InputStream is, int mechTokenLen) argument 169 int len = is.read(mechToken); 177 DerValue dv = new DerValue(is); 225 // srcName and potentially targetName (when myCred is null) 259 public byte[] initSecContext(InputStream is, int mechTokenLen) argument 266 inToken = retrieveToken(is, mechTokenLe 310 acceptSecContext(InputStream is, int mechTokenLen) argument [all...] |