public final class ProjectResource extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ProjectResource.Builder |
Modifier and Type | Method and Description |
---|---|
static ProjectResource.Builder |
builder(ProjectIdentifier project,
String path) |
static ProjectResource |
classpath(ProjectIdentifier project,
String path)
Create a
ProjectResource with the prefix set to classpath: |
static ProjectResource |
classpath(ProjectIdentifier project,
String path,
boolean metainf)
Create a
ProjectResource with the prefix set to classpath: or classpath:META-INF/ |
static ProjectResource |
create(ProjectIdentifier project,
String path)
Create a
ProjectResource with the prefix set to classpath: |
static ProjectResource |
create(String prefix,
ProjectIdentifier project,
String path)
Create a
ProjectResource with the corresponding prefix |
static ProjectResource |
directory(File directory,
ProjectIdentifier project,
String path)
Create a
ProjectResource with the prefix set to directory |
static ProjectResource |
directory(File directory,
ProjectIdentifier project,
String path,
boolean metainf)
Create a
ProjectResource with the prefix set to directory and optionally further prefixed with META-INF |
String |
getPath() |
String |
getPrefix() |
ProjectIdentifier |
getProject() |
public static ProjectResource create(ProjectIdentifier project, String path)
ProjectResource
with the prefix set to classpath:
public static ProjectResource create(String prefix, ProjectIdentifier project, String path)
ProjectResource
with the corresponding prefixpublic static ProjectResource classpath(ProjectIdentifier project, String path)
ProjectResource
with the prefix set to classpath:
public static ProjectResource classpath(ProjectIdentifier project, String path, boolean metainf)
ProjectResource
with the prefix set to classpath:
or classpath:META-INF/
public static ProjectResource directory(File directory, ProjectIdentifier project, String path, boolean metainf)
ProjectResource
with the prefix set to directory
and optionally further prefixed with META-INF
public static ProjectResource directory(File directory, ProjectIdentifier project, String path)
ProjectResource
with the prefix set to directory
public static ProjectResource.Builder builder(ProjectIdentifier project, String path)
public ProjectIdentifier getProject()
Copyright © 2010–2014 The Kuali Foundation. All rights reserved.