public final class Nxt
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
APPLICATION |
static java.lang.String |
CONFIG_DIR |
static java.lang.String |
NXT_DEFAULT_PROPERTIES |
static java.lang.String |
NXT_PROPERTIES |
static java.lang.String |
VERSION |
Modifier and Type | Method and Description |
---|---|
static Blockchain |
getBlockchain() |
static BlockchainProcessor |
getBlockchainProcessor() |
static java.lang.Boolean |
getBooleanProperty(java.lang.String name) |
static java.io.File |
getConfDir() |
static java.lang.String |
getDbDir(java.lang.String dbDir) |
static double |
getDoubleProperty(java.lang.String name) |
static double |
getDoubleProperty(java.lang.String name,
double defaultValue) |
static int |
getEpochTime() |
static int |
getIntProperty(java.lang.String name) |
static int |
getIntProperty(java.lang.String name,
int defaultValue) |
static java.lang.String |
getProcessId() |
static java.util.List<java.lang.String> |
getStringListProperty(java.lang.String name) |
static java.lang.String |
getStringProperty(java.lang.String name) |
static java.lang.String |
getStringProperty(java.lang.String name,
java.lang.String defaultValue) |
static java.lang.String |
getStringProperty(java.lang.String name,
java.lang.String defaultValue,
boolean doNotLog) |
static TransactionProcessor |
getTransactionProcessor() |
static java.lang.String |
getUserHomeDir() |
static void |
init() |
static void |
init(java.util.Properties customProperties) |
static boolean |
isDesktopApplicationEnabled() |
static java.util.Properties |
loadProperties(java.util.Properties properties,
java.lang.String propertiesFile,
boolean isDefault) |
static void |
main(java.lang.String[] args) |
static Transaction.Builder |
newTransactionBuilder(byte[] transactionBytes) |
static Transaction.Builder |
newTransactionBuilder(byte[] transactionBytes,
org.json.simple.JSONObject prunableAttachments) |
static Transaction.Builder |
newTransactionBuilder(byte[] senderPublicKey,
long amountNQT,
long feeNQT,
short deadline,
Attachment attachment) |
static Transaction.Builder |
newTransactionBuilder(org.json.simple.JSONObject transactionJSON) |
static void |
shutdown() |
static void |
updateLogFileHandler(java.util.Properties loggingProperties) |
public static final java.lang.String VERSION
public static final java.lang.String APPLICATION
public static final java.lang.String NXT_DEFAULT_PROPERTIES
public static final java.lang.String NXT_PROPERTIES
public static final java.lang.String CONFIG_DIR
public static java.util.Properties loadProperties(java.util.Properties properties, java.lang.String propertiesFile, boolean isDefault)
public static int getIntProperty(java.lang.String name)
public static int getIntProperty(java.lang.String name, int defaultValue)
public static double getDoubleProperty(java.lang.String name)
public static double getDoubleProperty(java.lang.String name, double defaultValue)
public static java.lang.String getStringProperty(java.lang.String name)
public static java.lang.String getStringProperty(java.lang.String name, java.lang.String defaultValue)
public static java.lang.String getStringProperty(java.lang.String name, java.lang.String defaultValue, boolean doNotLog)
public static java.util.List<java.lang.String> getStringListProperty(java.lang.String name)
public static java.lang.Boolean getBooleanProperty(java.lang.String name)
public static Blockchain getBlockchain()
public static BlockchainProcessor getBlockchainProcessor()
public static TransactionProcessor getTransactionProcessor()
public static Transaction.Builder newTransactionBuilder(byte[] senderPublicKey, long amountNQT, long feeNQT, short deadline, Attachment attachment)
public static Transaction.Builder newTransactionBuilder(byte[] transactionBytes) throws NxtException.NotValidException
NxtException.NotValidException
public static Transaction.Builder newTransactionBuilder(org.json.simple.JSONObject transactionJSON) throws NxtException.NotValidException
NxtException.NotValidException
public static Transaction.Builder newTransactionBuilder(byte[] transactionBytes, org.json.simple.JSONObject prunableAttachments) throws NxtException.NotValidException
NxtException.NotValidException
public static int getEpochTime()
public static void main(java.lang.String[] args)
public static void init(java.util.Properties customProperties)
public static void init()
public static void shutdown()
public static java.lang.String getProcessId()
public static java.lang.String getDbDir(java.lang.String dbDir)
public static void updateLogFileHandler(java.util.Properties loggingProperties)
public static java.lang.String getUserHomeDir()
public static java.io.File getConfDir()
public static boolean isDesktopApplicationEnabled()