private static enum JulDirector.SocketFactory extends Enum<JulDirector.SocketFactory>
| Modifier and Type | Method and Description |
|---|---|
(package private) abstract <E extends Entry> |
newInputSocket(InputSocket<E> input,
JulDirector director) |
(package private) abstract <E extends Entry> |
newOutputSocket(OutputSocket<E> output,
JulDirector director) |
static JulDirector.SocketFactory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JulDirector.SocketFactory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JulDirector.SocketFactory NIO
public static final JulDirector.SocketFactory OIO
abstract <E extends Entry> InputSocket<E> newInputSocket(InputSocket<E> input, JulDirector director)
abstract <E extends Entry> OutputSocket<E> newOutputSocket(OutputSocket<E> output, JulDirector director)
public static JulDirector.SocketFactory valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic static JulDirector.SocketFactory[] values()
for (JulDirector.SocketFactory c : JulDirector.SocketFactory.values()) System.out.println(c);
Copyright © 2004-2011 Schlichtherle IT Services. All Rights Reserved.