public enum OsName extends Enum<OsName>
Enum Constant and Description |
---|
aix |
darwin |
dragonfly |
freebsd |
hpux |
linux |
netbsd |
openbsd |
osf |
other |
solaris |
unknown |
windows |
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
static OsName |
from(ByteBuffer buffer) |
String |
toString() |
static OsName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OsName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
void |
writeBson(org.bson.BsonWriter bsonWriter) |
public static final OsName unknown
public static final OsName other
public static final OsName linux
public static final OsName windows
public static final OsName darwin
public static final OsName hpux
public static final OsName aix
public static final OsName dragonfly
public static final OsName freebsd
public static final OsName netbsd
public static final OsName openbsd
public static final OsName osf
public static final OsName solaris
public static OsName[] values()
for (OsName c : OsName.values()) System.out.println(c);
public static OsName 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 OsName from(ByteBuffer buffer) throws InvalidPacketException
InvalidPacketException
public void writeBson(org.bson.BsonWriter bsonWriter)
Copyright © 2018. All rights reserved.