com.solarmetric.kodo.enhance
Class DefaultOutputProvider
java.lang.Object
|
+--com.solarmetric.kodo.enhance.DefaultOutputProvider
- All Implemented Interfaces:
- OutputProvider
- public class DefaultOutputProvider
- extends Object
- implements OutputProvider
default OutputProvider implemtation using URL and
Class.getResourceAsStream
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLASS_EXT
public static final String CLASS_EXT
DefaultOutputProvider
public DefaultOutputProvider()
getInstance
public static DefaultOutputProvider getInstance()
provideOutputStream
public OutputStream provideOutputStream(Class type)
throws IOException
- Description copied from interface:
OutputProvider
- return an output stream for a given class.
- Specified by:
provideOutputStream
in interface OutputProvider
notifyClosed
public void notifyClosed(Class type)
- Description copied from interface:
OutputProvider
- notify implementations that the enhancer has finished work
on the class's bytecode and that the stream given prior
has been closed.
- Specified by:
notifyClosed
in interface OutputProvider
Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.