org.jboss.shrinkwrap.api
Interface ArchivePath

All Superinterfaces:
Comparable<ArchivePath>

public interface ArchivePath
extends Comparable<ArchivePath>

Represents a target context within an Archive under which an Asset may be found.

Version:
$Revision: $
Author:
ALR

Method Summary
 String get()
          Obtains the context which this ArchivePath represents
 ArchivePath getParent()
          Obtains the parent of this Path, if exists, else null.
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

get

String get()
Obtains the context which this ArchivePath represents

Returns:

getParent

ArchivePath getParent()
Obtains the parent of this Path, if exists, else null. For instance if the Path is "/my/path", the parent will be "/my". Each call will result in a new object reference, though subsequent calls upon the same Path will be equal by value.

Returns:


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.