Search Results
OK to copy?
Examples 1 through 10 of
73 (0.0030 seconds)
Class:
org.springframework.context.support.ResourceEntityResolver
©,
Rating:
0% of 0,
C2
Class: org.apache.catalina.ant.ValidatorTask ©, Rating: 0% of 0, C2
Class: org.apache.batik.dom.HasChildNodesTest ©, Rating: 0% of 0, C1
Class: org.apache.batik.dom.GetElementsByTagNameNSTest ©, Rating: 0% of 0, C2
Class: org.apache.batik.dom.NullNamespaceTest ©, Rating: 0% of 0, C1
Class: org.apache.batik.apps.rasterizer.SVGConverterFileSource ©, Rating: 0% of 0, C1
Class: org.apache.batik.dom.RemoveAttributeTest ©, Rating: 0% of 0, C1
Class: org.htmlparser.tests.BenchmarkP ©, Rating: 0% of 0, C3
Class: org.apache.batik.dom.svg.CloneNodeTest ©, Rating: 0% of 0, C2
Class: org.apache.batik.dom.AppendChildTest ©, Rating: 0% of 0, C1
63 String decodedSystemId = URLDecoder.decode(systemId);
64 String givenUrl = new URL(decodedSystemId).toString();
65 String systemRootUrl = new File("").toURL().toString();
66 // try relative to resource base if currently in system root
67 if (givenUrl.startsWith(systemRootUrl)) {
Class: org.apache.catalina.ant.ValidatorTask ©, Rating: 0% of 0, C2
095 InputStream stream =
096 new BufferedInputStream(new FileInputStream(file));
097 InputSource is = new InputSource(file.toURL().toExternalForm());
098 is.setByteStream(stream);
099 digester.parse(is);
Class: org.apache.batik.dom.HasChildNodesTest ©, Rating: 0% of 0, C1
094
095 File f = (new File(testFileName));
096 URL url = f.toURL();
097 Document doc = df.createDocument(null,
098 rootTag,
Class: org.apache.batik.dom.GetElementsByTagNameNSTest ©, Rating: 0% of 0, C2
087
088 File f = (new File(testFileName));
089 URL url = f.toURL();
090 Document doc = df.createDocument(null,
091 rootTag,
Class: org.apache.batik.dom.NullNamespaceTest ©, Rating: 0% of 0, C1
094
095 File f = (new File(testFileName));
096 URL url = f.toURL();
097 Document doc = df.createDocument(null,
098 rootTag,
Class: org.apache.batik.apps.rasterizer.SVGConverterFileSource ©, Rating: 0% of 0, C1
094 public String getURI(){
095 try{
096 String uri = file.toURL().toString();
097 if (ref != null && !"".equals(ref)){
098 uri += "#" + ref;
Class: org.apache.batik.dom.RemoveAttributeTest ©, Rating: 0% of 0, C1
097
098 File f = (new File(testFileName));
099 URL url = f.toURL();
100 Document doc = df.createDocument(null,
101 rootTag,
Class: org.htmlparser.tests.BenchmarkP ©, Rating: 0% of 0, C3
075 try
076 {
077 strurl = input.toURL().toString();
078 System.out.println("file converted to URL: " + args[0]);
079 }
Class: org.apache.batik.dom.svg.CloneNodeTest ©, Rating: 0% of 0, C2
087
088 File f = (new File(testFileName));
089 URL url = f.toURL();
090 Document doc = df.createDocument(url.toString(),
091 url.openStream());
Class: org.apache.batik.dom.AppendChildTest ©, Rating: 0% of 0, C1
097
098 File f = (new File(testFileName));
099 URL url = f.toURL();
100 Document doc = df.createDocument(null,
101 rootTag,