Interface HostContext


public interface HostContext
Provide information about the host, location of the host file and the last modified time of the file.
Author:
Elizabeth Saunders
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the hostname.
    Get the path of the the host file.
    long
    Get the last modfied time of the host file.
  • Method Details

    • host

      String host()
      Get the hostname.
      Returns:
      host
    • hostPath

      Path hostPath()
      Get the path of the the host file.
      Returns:
      path
    • lastModifiedTime

      long lastModifiedTime()
      Get the last modfied time of the host file.
      Returns:
      lastModified