Class SMBHelper


  • public class SMBHelper
    extends Object
    A helper class for SMB.
    Version:
    $Revision$
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    • Constructor Detail

      • SMBHelper

        public SMBHelper()
    • Method Detail

      • getProperties

        public static Properties getProperties()
        Returns the underlying properties.
        Returns:
        the properties
      • writeProperties

        public static boolean writeProperties()
        Writes the specified properties to disk.
        Returns:
        true if successfully stored
      • writeProperties

        public static boolean writeProperties​(Properties props)
        Writes the specified properties to disk.
        Parameters:
        props - the properties to write to disk
        Returns:
        true if successfully stored
      • getWinsHost

        public static String getWinsHost()
        Returns the hostname verifier.
        Returns:
        the verifier
      • initialize

        public static void initialize()
        Initializes the Wins host.