Login | Register
My pages Projects Community openCollabNet

The Tigris site will receive a major upgrade the evening of Monday, December 1, beginning at 8:30 pm PST. Downtime is projected to be about ten hours. Further details in the announcement


jmt.codebase.bytesource
Class ByteSourceFactory

java.lang.Object
  |
  +--jmt.codebase.bytesource.ByteSourceFactory

public final class ByteSourceFactory
extends java.lang.Object

A static factory providing a methods to create a ResourceAnalysationFacility instance used to analyse a byte source.

It also provides package-scoped methods to create Modifier and ByteSource instances.

Note: The Modifiers are of type ByteSourceModifier and will be cached and implemented using the flyweight pattern.

Author:
Martin Kersten
See Also:
ByteSourceModifier, ByteSource, ByteSourceAnalysationException

Constructor Summary
ByteSourceFactory()
           
 
Method Summary
static ResourceAnalysationFacility createAnalysationFacility()
          Returns a ResourceAnalysationFacility instance for analysing a byte source.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteSourceFactory

public ByteSourceFactory()
Method Detail

createAnalysationFacility

public static ResourceAnalysationFacility createAnalysationFacility()
Returns a ResourceAnalysationFacility instance for analysing a byte source. The resulting instance will be an implementation of a byte source analysation facility implemented by the AbstractByteResourceAnalysationFacility class.

Returns:
The analysation facility used to analyse a byte-source