public class Asset
extends java.lang.Object
| Constructor and Description |
|---|
Asset(java.io.File source,
java.io.File destination,
org.apache.commons.configuration.CompositeConfiguration config)
Deprecated.
Use
Asset(JBakeConfiguration) instead.
Compatibility constructor.
Creates an instance of Asset. |
Asset(JBakeConfiguration config)
Creates an instance of Asset.
|
| Modifier and Type | Method and Description |
|---|---|
void |
copy()
Copy all files from assets folder to destination folder
read from configuration
|
void |
copy(java.io.File path)
Copy all files from supplied path.
|
void |
copyAssetsFromContent(java.io.File path) |
java.util.List<java.lang.Throwable> |
getErrors() |
@Deprecated
public Asset(java.io.File source,
java.io.File destination,
org.apache.commons.configuration.CompositeConfiguration config)
Asset(JBakeConfiguration) instead.
Compatibility constructor.
Creates an instance of Asset.source - Source file for the assetdestination - Destination (target) directory for asset fileconfig - Project configurationpublic Asset(JBakeConfiguration config)
config - The project configuration. @see{JBakeConfiguration}public void copy()
public void copy(java.io.File path)
path - The starting pathpublic void copyAssetsFromContent(java.io.File path)
public java.util.List<java.lang.Throwable> getErrors()