Class ResourceFactory
java.lang.Object
org.codehaus.plexus.components.io.resources.ResourceFactory
- Author:
- Kristian Rosenvold
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic PlexusIoResource
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)
-
Constructor Details
-
ResourceFactory
public ResourceFactory()
-
-
Method Details
-
createResource
- Throws:
IOException
-
createResource
- 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
-