org.kuali.common.util
Class MetaInfUtils

java.lang.Object
  extended by org.kuali.common.util.MetaInfUtils

public class MetaInfUtils
extends Object


Constructor Summary
MetaInfUtils()
           
 
Method Summary
static void doLocations(MetaInfContext context, List<MetaInfResource> resources)
           
static void doProperties(MetaInfContext context, List<MetaInfResource> resources)
           
static List<File> getFiles(MetaInfContext context)
           
static String getLocation(File baseDir, File file, String prefix)
           
static List<String> getLocations(File baseDir, List<File> files, String prefix)
           
static List<String> getLocations(List<MetaInfResource> resources)
           
protected static String getPatternLogMessage(MetaInfContext context)
           
static Properties getProperties(MetaInfContext context, List<MetaInfResource> resources)
           
static String getPropertyKey(String location)
           
static MetaInfResource getResource(MetaInfContext context, File file)
           
static List<MetaInfResource> getResources(MetaInfContext context, List<File> files)
           
static void scanAndCreateFile(MetaInfContext context)
           
static void scanAndCreateFiles(List<MetaInfContext> contexts)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetaInfUtils

public MetaInfUtils()
Method Detail

scanAndCreateFiles

public static void scanAndCreateFiles(List<MetaInfContext> contexts)
                               throws IOException
Throws:
IOException

getFiles

public static List<File> getFiles(MetaInfContext context)
                           throws IOException
Throws:
IOException

getPatternLogMessage

protected static String getPatternLogMessage(MetaInfContext context)

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.