org.codehaus.mojo.jettybin
Class JettyIOUtil

java.lang.Object
  extended by org.codehaus.mojo.jettybin.JettyIOUtil

public class JettyIOUtil
extends java.lang.Object

JettyIOUtil - enhancements to the IOUtil from plexus-util.

Version:
$Id: JettyIOUtil.java 2563 2006-10-25 02:37:28Z joakime $
Author:
Joakim Erdfelt

Constructor Summary
JettyIOUtil()
           
 
Method Summary
static void copyResourceToFile(java.net.URL resource, java.io.File file)
           
static void ensureDirectoryExists(java.io.File dir)
           
static void ensureParentDirectoryExists(java.io.File file)
           
static java.util.List getFileList(java.io.File directory, java.lang.String includes, java.lang.String excludes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JettyIOUtil

public JettyIOUtil()
Method Detail

ensureParentDirectoryExists

public static void ensureParentDirectoryExists(java.io.File file)
                                        throws java.io.IOException
Throws:
java.io.IOException

ensureDirectoryExists

public static void ensureDirectoryExists(java.io.File dir)
                                  throws java.io.IOException
Throws:
java.io.IOException

copyResourceToFile

public static void copyResourceToFile(java.net.URL resource,
                                      java.io.File file)
                               throws java.io.IOException
Throws:
java.io.IOException

getFileList

public static java.util.List getFileList(java.io.File directory,
                                         java.lang.String includes,
                                         java.lang.String excludes)


Copyright © 2010. All Rights Reserved.