org.kuali.common.util
Class MetaInfUtils
java.lang.Object
org.kuali.common.util.MetaInfUtils
public class MetaInfUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetaInfUtils
public MetaInfUtils()
scanAndCreateFiles
public static void scanAndCreateFiles(List<MetaInfContext> contexts)
throws IOException
- Throws:
IOException
getFiles
public static List<File> getFiles(MetaInfContext context)
throws IOException
- Throws:
IOException
doLocations
public static void doLocations(MetaInfContext context,
List<MetaInfResource> resources)
throws IOException
- Throws:
IOException
doProperties
public static void doProperties(MetaInfContext context,
List<MetaInfResource> resources)
getProperties
public static Properties getProperties(MetaInfContext context,
List<MetaInfResource> resources)
getPropertyKey
public static String getPropertyKey(String location)
scanAndCreateFile
public static void scanAndCreateFile(MetaInfContext context)
throws IOException
- Throws:
IOException
getResources
public static List<MetaInfResource> getResources(MetaInfContext context,
List<File> files)
throws IOException
- Throws:
IOException
getLocations
public static List<String> getLocations(List<MetaInfResource> resources)
getLocations
public static List<String> getLocations(File baseDir,
List<File> files,
String prefix)
throws IOException
- Throws:
IOException
getResource
public static MetaInfResource getResource(MetaInfContext context,
File file)
throws IOException
- Throws:
IOException
getLocation
public static String getLocation(File baseDir,
File file,
String prefix)
throws IOException
- Throws:
IOException
Copyright © 2010-2013 The Kuali Foundation. All Rights Reserved.