Package nxt

Class Nxt


  • public final class Nxt
    extends java.lang.Object
    • Method Detail

      • loadProperties

        public static java.util.Properties loadProperties​(java.util.Properties properties,
                                                          java.lang.String propertiesFile,
                                                          boolean isDefault)
      • getIntProperty

        public static int getIntProperty​(java.lang.String name)
      • getIntProperty

        public static int getIntProperty​(java.lang.String name,
                                         int defaultValue)
      • getStringProperty

        public static java.lang.String getStringProperty​(java.lang.String name)
      • getStringProperty

        public static java.lang.String getStringProperty​(java.lang.String name,
                                                         java.lang.String defaultValue)
      • getStringProperty

        public static java.lang.String getStringProperty​(java.lang.String name,
                                                         java.lang.String defaultValue,
                                                         boolean doNotLog)
      • getStringListProperty

        public static java.util.List<java.lang.String> getStringListProperty​(java.lang.String name)
      • getBooleanProperty

        public static java.lang.Boolean getBooleanProperty​(java.lang.String name)
      • getBlockchain

        public static Blockchain getBlockchain()
      • newTransactionBuilder

        public static Transaction.Builder newTransactionBuilder​(byte[] senderPublicKey,
                                                                long amountNQT,
                                                                long feeNQT,
                                                                short deadline,
                                                                Attachment attachment)
      • getEpochTime

        public static int getEpochTime()
      • main

        public static void main​(java.lang.String[] args)
      • init

        public static void init​(java.util.Properties customProperties)
      • init

        public static void init()
      • shutdown

        public static void shutdown()
      • getProcessId

        public static java.lang.String getProcessId()
      • getDbDir

        public static java.lang.String getDbDir​(java.lang.String dbDir)
      • updateLogFileHandler

        public static void updateLogFileHandler​(java.util.Properties loggingProperties)
      • getUserHomeDir

        public static java.lang.String getUserHomeDir()
      • getConfDir

        public static java.io.File getConfDir()
      • isDesktopApplicationEnabled

        public static boolean isDesktopApplicationEnabled()