Class Node


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

      • 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)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object