java.lang.Object
net.n2oapp.framework.config.register.storage.Node

public class Node extends Object
User: iryabov Date: 21.05.13 Time: 20:16
  • Method Details

    • byAbsolutePath

      public static Node byAbsolutePath(String absolutePath, String configPath)
    • byLocationPattern

      public static Node byLocationPattern(org.springframework.core.io.Resource resource, String locationPattern) throws IOException
      Throws:
      IOException
    • byDirectory

      public static Node byDirectory(File file, String dirPath)
    • retrieveContent

      public String retrieveContent()
    • calculateLocalPathByLocationPattern

      public static String calculateLocalPathByLocationPattern(String locationPattern, String uri)
    • calculateLocalPathByDirectoryPath

      public static String calculateLocalPathByDirectoryPath(String directoryPath, String uri)
    • getLocalPath

      public String getLocalPath()
    • getName

      public String getName()
    • getUri

      public String getUri()
    • getFile

      public File getFile()
    • setFile

      public void setFile(File file)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object