io.nuun.kernel.api.inmemory
Class ClasspathAbstractElement<E>

java.lang.Object
  extended by io.nuun.kernel.api.inmemory.ClasspathAbstractElement<E>
Direct Known Subclasses:
ClasspathClass, ClasspathResource

public abstract class ClasspathAbstractElement<E>
extends Object

Author:
epo.jemba@kametic.com

Field Summary
protected  E element
           
 
Constructor Summary
ClasspathAbstractElement(E element)
           
 
Method Summary
protected  void assertRelativePath(String path)
           
protected abstract  String computeName(E element)
           
protected abstract  String computeRelativePath(E element)
           
 E internalRepresentation()
           
 String name()
           
 String relativePath()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

element

protected final E element
Constructor Detail

ClasspathAbstractElement

public ClasspathAbstractElement(E element)
Method Detail

assertRelativePath

protected void assertRelativePath(String path)

computeName

protected abstract String computeName(E element)

computeRelativePath

protected abstract String computeRelativePath(E element)

name

public String name()

relativePath

public String relativePath()

internalRepresentation

public E internalRepresentation()


Copyright © 2012-2015. All Rights Reserved.