Package com.networknt.schema.url
Class StandardURLFetcher
- java.lang.Object
-
- com.networknt.schema.url.StandardURLFetcher
-
- All Implemented Interfaces:
URLFetcher
public class StandardURLFetcher extends Object implements URLFetcher
Standard URL fetcher that usesURL.openStream()for fetching.
-
-
Constructor Summary
Constructors Constructor Description StandardURLFetcher()
-
-
-
Method Detail
-
fetch
public InputStream fetch(URL url) throws IOException
- Specified by:
fetchin interfaceURLFetcher- Throws:
IOException
-
-