public class DefaultLocalHostNameProvider extends Object implements LocalHostNameProvider
LocalHostNameProvider
.Constructor and Description |
---|
DefaultLocalHostNameProvider() |
Modifier and Type | Method and Description |
---|---|
String |
getLocalName() |
String |
subsituteHost(String hostName)
Expands the special ${localname} token within a host name using the resolved DNS name for the local host.
|
public String getLocalName()
getLocalName
in interface LocalHostNameProvider
public String subsituteHost(String hostName)
subsituteHost
in interface LocalHostNameProvider
hostName
- the host nameCopyright © 2005–2017 Alfresco Software. All rights reserved.