|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.maven.common.ResourceUtils
public class ResourceUtils
Constructor Summary | |
---|---|
ResourceUtils()
|
Method Summary | |
---|---|
void |
copy(String location,
String filename)
Copy a URL location to the local file system |
InputStream |
getInputStream(String location)
Given a location that can represent either a file on the file system or a Spring style resource, return an InputStream. |
String |
read(String location)
Read the contents of the URL location into a string |
void |
write(String filename,
String contents)
Write the string to the file system |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceUtils()
Method Detail |
---|
public InputStream getInputStream(String location) throws IOException
IOException
public void copy(String location, String filename) throws IOException
IOException
public void write(String filename, String contents) throws IOException
IOException
public String read(String location) throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |