public class SegmentFactory extends Object
Segment factory to create singleton ISegment object a path of the class that has implemented the ISegment interface must be given first
| Constructor and Description |
|---|
SegmentFactory() |
| Modifier and Type | Method and Description |
|---|---|
static ISegment |
createJcseg(int mode,
Object... args)
create the specified mode Jcseg instance
|
static ISegment |
createSegment(Class<? extends ISegment> _class,
Class<?>[] paramtypes,
Object[] args)
load the ISegment class with the given path
|
public static final String version
public static ISegment createSegment(Class<? extends ISegment> _class, Class<?>[] paramtypes, Object[] args)
_class - public static ISegment createJcseg(int mode, Object... args) throws JcsegException
mode - JcsegExceptionCopyright © 2017. All Rights Reserved.