Package ptolemy.util
Class FileUtilities.StreamAndURL
- java.lang.Object
-
- ptolemy.util.FileUtilities.StreamAndURL
-
- Enclosing class:
- FileUtilities
public static class FileUtilities.StreamAndURL extends java.lang.Object
A class that contains an InputStream and a URL so that we don't have to follow redirects twice.
-
-
Constructor Summary
Constructors Constructor Description StreamAndURL(java.io.InputStream stream, java.net.URL url)
Create an object containing an InputStream and a URL.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.InputStream
stream()
Return the stream.java.net.URL
url()
Return the url.
-