Lines Matching defs:in

7 // deal in the Software without restriction, including without limitation the

12 // The above copyright notice and this permission notice shall be included in
119 InputSource in = null;
121 in = cache.getCachedFile(uri.toString());
122 if(in == null) {
124 in = new InputSource(uri.toURL().openConnection().getInputStream());
141 in = new InputSource(uri.toURL().openConnection().getInputStream());
144 in = cache.getCachedFile(uri.toString());
145 if(in == null)
150 return in;
166 public OWLOntology read(Reader in, URI baseURI) {
167 return readInternal(OWLFactory.createKB(), new InputSource(in), null, baseURI);
170 public OWLOntology read(InputStream in, URI baseURI) {
171 return readInternal(OWLFactory.createKB(), new InputSource(in), null, baseURI);
175 InputSource in = createInputSource(uri);
176 return readInternal(kb, in, uri, uri);
179 public OWLOntology read(OWLKnowledgeBase kb, Reader in, URI baseURI) {
180 return readInternal(kb, new InputSource(in), null, baseURI);
183 public OWLOntology read(OWLKnowledgeBase kb, InputStream in, URI baseURI) {
184 return readInternal(kb, new InputSource(in), null, baseURI);
187 private OWLOntology readInternal(OWLKnowledgeBase kb, InputSource in, URI physicalURI, URI baseURI) {
188 OWLOntology ont = readFile((OWLKnowledgeBaseImpl) kb, in, physicalURI, baseURI);
205 private OWLOntology readFile(OWLKnowledgeBaseImpl kb, InputSource in, URI physicalURI, URI baseURI) {
226 if(in.getByteStream() != null)
227 reader.read(jenaModel, in.getByteStream(), base);
229 reader.read(jenaModel, in.getCharacterStream(), base);