Results for “java stringreader inputstream function cheat sheet site:bugs.java.com”
bugs.java.com
Bug ID: JDK-4267294 InputStream must be created in getInputStream...
addAttachment(String contentType, InputStream in). Because I don't know what type of InputStream that can be passed in, I can't use any of the provided DataSource implementation classes (e.g. java.activation.FileDataSource).
bugs.java.com
Bug ID: JDK-4233012 HTMLEditorKit can't cope with HTTP-EQUIV...
This is cut down from a larger piece of software which uses the Java Activation Framework (hence the use of InputStreams). I have attached the code, and two trivial HTML documents. Untitled.html was created with Netscape Communicator 4.5.
bugs.java.com
Bug ID: JDK-4004086 java.io: Add support for simple input parsing
Java SE. Community. Bug Database.InputStream in) { super(in); dis = new DataInputStream(in); } /** * Reads data into an array of bytes. * This method blocks until some input is available. * @param b the buffer into which the data is read * @return the actual number of bytes read, -1 is...