read(InputStream, Document, int) *2
JDK Doc(JAVA)Download this dictionary
read(InputStream, Document, int) *2
- Method in class javax.swing.text.DefaultEditorKit 
public void read (InputStream  in, Document  doc, int pos) throws IOException , BadLocationException 
Inserts content from the given stream which is expected to be in a format appropriate for this kind of content handler.Overrides: read in class EditorKit Parameters: in - The stream to read from - The destination for the insertion.doc - The destination for the insertion. - The location in the document to place the content >= 0.pos - The location in the document to place the content >= 0.Throws: IOException - on any I/O error - if pos represents an invalid location within the document.BadLocationException - if pos represents an invalid location within the document.