|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.dpml.transit.AbstractLayout
net.dpml.transit.EclipseLayout
The EclipseLayout decodes artifacts into the Eclipse specified layout
of artifacts on a file system or http server.
This format says that for an artifact artifact:[type]:[group]/[name]#[version]
the location of such artifact would be;
[group]-[version]/[name].[type].
Example; artifact:jar:eclipse/plugins/eclipse-osgi-runtime/core#3.1.0
would return the path eclipse/plugins/eclipse-osgi-runtime-3.1.0/core.jar.
| Constructor Summary | |
EclipseLayout()
|
|
| Method Summary | |
boolean |
equals(Object other)
|
int |
hashCode()
|
String |
resolveBase(Artifact artifact)
Return the base path for an artifact. |
String |
resolveBaseFilename(Artifact artifact)
Return the expanded filename of the artifact. |
String |
resolveFilename(Artifact artifact)
Return the expanded filename of the artifact. |
String |
resolvePath(Artifact artifact)
Returns the full path of the artifact relative to a logical root directory. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public EclipseLayout()
| Method Detail |
public final String resolveBase(Artifact artifact)
resolveBase in interface Layoutartifact - the artifact to resolve the base path from
public final String resolvePath(Artifact artifact)
artifact:jar:eclipse/plugins/eclipse-osgi-runtime/core#3.1.0
would return the path
eclipse/plugins/eclipse-osgi-runtime-3.1.0/core.jar.
resolvePath in interface Layoutartifact - the artifact to resolve the path from
resolveBase(net.dpml.transit.Artifact),
resolveFilename(net.dpml.transit.Artifact)public String resolveFilename(Artifact artifact)
[name].[type].
resolveFilename in interface Layoutartifact - the artifact to resolve
Layout.resolveBase(net.dpml.transit.Artifact),
Layout.resolveFilename(net.dpml.transit.Artifact)public String resolveBaseFilename(Artifact artifact)
[name].[type].
artifact - the artifact to resolve
public boolean equals(Object other)
public int hashCode()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||