Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Sethostname (0.05 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/general/AdminGeneralAction.java

            final String[] toAddresses = form.notificationTo.split(",");
            final Map<String, Object> dataMap = new HashMap<>();
            dataMap.put("hostname", systemHelper.getHostname());
    
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final Postbox postbox = ComponentUtil.getComponent(Postbox.class);
            try {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/SystemHelper.java

            shutdownHookList.add(hook);
        }
    
        /**
         * Gets the hostname of the local machine.
         *
         * @return The hostname.
         */
        public String getHostname() {
            final Map<String, String> env = getEnvMap();
            if (env.containsKey("COMPUTERNAME")) {
                return env.get("COMPUTERNAME");
            }
            if (env.containsKey("HOSTNAME")) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 08:30:43 UTC 2025
    - 36.6K bytes
    - Viewed (0)
Back to top