org.weborganic.cobble.resource
Class Resources

java.lang.Object
  extended by org.weborganic.cobble.resource.Resources

public final class Resources
extends Object

Version:
22 November 2013
Author:
Christophe Lauret

Method Summary
static void copyTo(String name, File dir)
          Copy the resource in this package to the target directory
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

copyTo

public static void copyTo(String name,
                          File dir)
                   throws IOException
Copy the resource in this package to the target directory

Parameters:
name - The name of the resource to copy
dir - The directory it should be copied to.
Throws:
IOException - If an error occurs while copying the resource.