Class FileRetriever
java.lang.Object
com.atlassian.confluence.it.resource.FileRetriever
Very simple class to retrieve files from arbitrary URLs (with the intention they be URLs from Confluence).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]retrieveBytes(String url) retrieveFile(String url, String fileNamePrefix, String fileNameExtension)
-
Constructor Details
-
FileRetriever
public FileRetriever()
-
-
Method Details
-
retrieveFile
public File retrieveFile(String url, String fileNamePrefix, String fileNameExtension) throws IOException - Throws:
IOException
-
retrieveBytes
- Throws:
IOException
-