Class ResourceFactory
- java.lang.Object
-
- org.codehaus.plexus.components.io.resources.ResourceFactory
-
public class ResourceFactory extends Object
- Author:
- Kristian Rosenvold
-
-
Constructor Summary
Constructors Constructor Description ResourceFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PlexusIoResource
createResource(File f)
static PlexusIoResource
createResource(File f, String name)
static PlexusIoResource
createResource(File f, String name, ContentSupplier contentSupplier, PlexusIoResourceAttributes attributes)
static PlexusIoResource
createResource(File f, String name, ContentSupplier contentSupplier, InputStreamTransformer inputStreamTransformer)
static PlexusIoResource
createResource(File f, String name, ContentSupplier contentSupplier, InputStreamTransformer inputStreamTransformer, PlexusIoResourceAttributes attributes)
static PlexusIoResource
createResource(File f, InputStreamTransformer inputStreamTransformer)
-
-
-
Method Detail
-
createResource
public static PlexusIoResource createResource(File f) throws IOException
- Throws:
IOException
-
createResource
public static PlexusIoResource createResource(File f, String name) throws IOException
- Throws:
IOException
-
createResource
public static PlexusIoResource createResource(File f, String name, ContentSupplier contentSupplier, PlexusIoResourceAttributes attributes) throws IOException
- Throws:
IOException
-
createResource
public static PlexusIoResource createResource(File f, InputStreamTransformer inputStreamTransformer) throws IOException
- Throws:
IOException
-
createResource
public static PlexusIoResource createResource(File f, String name, ContentSupplier contentSupplier, InputStreamTransformer inputStreamTransformer) throws IOException
- Throws:
IOException
-
createResource
public static PlexusIoResource createResource(File f, String name, ContentSupplier contentSupplier, InputStreamTransformer inputStreamTransformer, PlexusIoResourceAttributes attributes) throws IOException
- Throws:
IOException
-
-