Package org.apache.commons.vfs2.util
Class OsFamily
- java.lang.Object
-
- org.apache.commons.vfs2.util.OsFamily
-
@Deprecated public final class OsFamily extends java.lang.Object
Deprecated.Use Apache Commons Lang'sSystemUtils
. Remove in 3.0.An enumerated type, which represents an OS family.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static OsFamily[]
EMPTY_OS_FAMILY_ARRAY
Deprecated.private OsFamily[]
families
Deprecated.private java.lang.String
name
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description OsFamily[]
getFamilies()
Deprecated.Returns the OS families that this family belongs to.java.lang.String
getName()
Deprecated.Returns the name of this family.
-
-
-
Constructor Detail
-
OsFamily
OsFamily(java.lang.String name)
Deprecated.
-
OsFamily
OsFamily(java.lang.String name, OsFamily[] families)
Deprecated.
-
-
Method Detail
-
getName
public java.lang.String getName()
Deprecated.Returns the name of this family.- Returns:
- The name of this family.
-
getFamilies
public OsFamily[] getFamilies()
Deprecated.Returns the OS families that this family belongs to.- Returns:
- an array of OSFamily objects that this family belongs to.
-
-