Enum Constant and Description |
---|
InstallerNonWindows |
InstallerWindows |
IPv4ToCountry |
Seednodes |
Modifier and Type | Method and Description |
---|---|
java.io.File |
getFile(Node node)
Gets the absolute file path associated with this file for the given node instance.
|
java.lang.String |
getFilename()
Gets the filename associated with this file.
|
ProgramDirectory |
getProgramDirectory(Node node)
Gets the base directory with this file for the given node instance.
|
static NodeFile |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NodeFile[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeFile Seednodes
public static final NodeFile InstallerWindows
public static final NodeFile InstallerNonWindows
public static final NodeFile IPv4ToCountry
public static NodeFile[] values()
for (NodeFile c : NodeFile.values()) System.out.println(c);
public static NodeFile valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.io.File getFile(Node node)
public java.lang.String getFilename()
public ProgramDirectory getProgramDirectory(Node node)