protected static enum ApplicationResource.SshStreams extends Enum<ApplicationResource.SshStreams>
Modifier and Type | Method and Description |
---|---|
protected abstract InputStream |
getInputStream(com.jcraft.jsch.Channel channel) |
List<String> |
getLines(com.jcraft.jsch.Channel channel) |
static ApplicationResource.SshStreams |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApplicationResource.SshStreams[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApplicationResource.SshStreams EXT_INPUT
public static final ApplicationResource.SshStreams INPUT
public static ApplicationResource.SshStreams[] values()
for (ApplicationResource.SshStreams c : ApplicationResource.SshStreams.values()) System.out.println(c);
public static ApplicationResource.SshStreams 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 List<String> getLines(com.jcraft.jsch.Channel channel) throws IOException
IOException
protected abstract InputStream getInputStream(com.jcraft.jsch.Channel channel) throws IOException
IOException
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.