Code examples for InputSource

Codota analyzed 7,668,838 open source code samples to find the most common, credible and clear examples.
You can now enable Codota on your own code to easily search and navigate your Java codebase.
49:	domParser.parse(new InputSource(inputStream)); 
Full Snippet Info
9
CodeRank
227:	InputSource inputStream = new InputSource(stream.getInputStream()); 
228:	inputStream.setCharacterStream(inputStream.getCharacterStream()); 
229:	inputStream.setPublicId(stream.getPublicId()); 
230:	inputStream.setSystemId(source.getSystemId()); 
Full Snippet Info
9
CodeRank
59:	hyphenationTree = HyphenationCompoundWordTokenFilter.getHyphenationTree(new InputSource(hyphenationPatternsFile.toExternalForm())); 
Full Snippet Info
9
CodeRank
13:	return new InputSource(new StringReader("")); 
Full Snippet Info
8
CodeRank
66:	domParser.parse(new InputSource(inputStream)); 
Full Snippet Info
9
CodeRank
92:	xr.parse(new InputSource(fileReader)); 
Full Snippet Info
8
CodeRank
55:	InputSource inputSource = new InputSource(new StringReader(xml)); 
56:	return documentBuilder.parse(inputSource); 
Full Snippet Info
8
CodeRank
76:	xr.parse(new InputSource(new BufferedInputStream(pInputStream))); 
Full Snippet Info
8
CodeRank
54:	InputSource i = new InputSource(bais); 
-
56:	assertEquals(bais, i.getByteStream()); 
57:	assertNull(i.getCharacterStream()); 
58:	assertNull(i.getEncoding()); 
59:	assertNull(i.getPublicId()); 
60:	assertNull(i.getSystemId()); 
Full Snippet Info
8
CodeRank
67:	Document document = builder.parse(new InputSource(new StringReader(INPUT_STRING))); 
Full Snippet Info
8
CodeRank
48:	InputSource is = new InputSource(sr); 
49:	xr.parse(is); 
Full Snippet Info
8
CodeRank
77:	return validateGETMAP(new InputSource(xml), SchemaUrl); 
Full Snippet Info
8
CodeRank
76:	xr.parse(new InputSource(new BufferedInputStream(pInputStream))); 
Full Snippet Info
8
CodeRank
75:	xmlReader.parse(new InputSource(new StringReader(XML_1))); 
Full Snippet Info
8
CodeRank
45:	xr.parse(new InputSource(connection.getInputStream())); 
Full Snippet Info
8
CodeRank
153:	return new DefaultAndroidManifestReader(new InputSource(reader)); 
Full Snippet Info
8
CodeRank
72:	Document doc = builder.parse(new InputSource(new StringReader(xml))); 
Full Snippet Info
8
CodeRank
129:	xr.parse(new InputSource(new BufferedInputStream(pInputStream))); 
Full Snippet Info
8
CodeRank
81:	Document expected = documentBuilder.parse(new InputSource(new StringReader(XML))); 
Full Snippet Info
8
CodeRank
65:	xmlIn.parse(new InputSource(stream)); 
Full Snippet Info
8
CodeRank