org.javaswift.joss.util
Class FileAction
java.lang.Object
org.javaswift.joss.util.FileAction
public class FileAction
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileAction
public FileAction()
handleEntity
public static void handleEntity(File targetFile,
org.apache.http.HttpEntity entity)
throws IOException
- Throws:
IOException
getMd5
public static String getMd5(File file)
throws IOException
- Throws:
IOException
close
protected static void close(Closeable closeable)
throws IOException
- Throws:
IOException
listFiles
public static List<FileReference> listFiles(File root)
listFiles
public static List<FileReference> listFiles(File root,
String[] ignoreFilters)
listFiles
protected static void listFiles(List<FileReference> files,
List<String> path,
File directoryFile,
String[] ignoreFilters)
ignore
protected static boolean ignore(List<String> pathAndFile,
String[] ignoreFilters)
getPath
protected static List<String> getPath(List<String> currentPath,
String extension)
getFile
public static File getFile(String resource)
throws IOException,
URISyntaxException
- Throws:
IOException
URISyntaxException
Copyright © 2012-2014 42 BV. All Rights Reserved.