Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

bossa.modules
Class CompiledContent  view CompiledContent download CompiledContent.java

java.lang.Object
  extended bybossa.modules.CompiledContent
Direct Known Subclasses:
DirectoryCompiledContent, JarCompiledContent

abstract class CompiledContent
extends java.lang.Object

An abstract package source, where source or interface files and compiled code if applicable can be found.

Version:
$Date: 2002/04/18 11:11:35 $

Field Summary
(package private)  gnu.bytecode.ClassType bytecode
           
(package private)  gnu.bytecode.ClassType dispatch
           
(package private)  long lastCompilation
          Date of the last succesful compilation of this package.
 
Constructor Summary
(package private) CompiledContent()
           
 
Method Summary
(package private) abstract  Content.Stream[] getClasses(boolean wantDispatch)
          Returns the compiled classes of this source.
(package private) abstract  Content.Unit[] getDefinitions()
           
abstract  java.lang.String getName()
          return a short name to display this package source (typically a file name, an URL, ...)
(package private) abstract  gnu.bytecode.ClassType readClass(java.lang.String name)
          Read a compiled class.
abstract  java.lang.String toString()
          return a longer string that identifies the type of package source too.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

lastCompilation

long lastCompilation
Date of the last succesful compilation of this package.


bytecode

gnu.bytecode.ClassType bytecode

dispatch

gnu.bytecode.ClassType dispatch
Constructor Detail

CompiledContent

CompiledContent()
Method Detail

getDefinitions

abstract Content.Unit[] getDefinitions()

getClasses

abstract Content.Stream[] getClasses(boolean wantDispatch)
Returns the compiled classes of this source. This method is valid for sources that were not compiled because they were up-to-date. It returns the classes generated by the compilation of the package denoted by this source.


readClass

abstract gnu.bytecode.ClassType readClass(java.lang.String name)
Read a compiled class.


getName

public abstract java.lang.String getName()
return a short name to display this package source (typically a file name, an URL, ...)


toString

public abstract java.lang.String toString()
return a longer string that identifies the type of package source too.