com.atlassian.confluence.it.resource
Class FileRetriever
java.lang.Object
com.atlassian.confluence.it.resource.FileRetriever
public class FileRetriever
- extends Object
Very simple class to retrieve files from arbitrary URLs (with the intention they be URLs from Confluence).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileRetriever
public FileRetriever()
retrieveFile
public File retrieveFile(String url,
String fileNamePrefix,
String fileNameExtension)
throws IOException
- Throws:
IOException
retrieveBytes
public byte[] retrieveBytes(String url)
throws IOException
- Throws:
IOException
Copyright © 2003-2012 Atlassian. All Rights Reserved.