Class Node
- 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 Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NodebyAbsolutePath(String absolutePath, String configPath)static NodebyDirectory(File file, String dirPath)static NodebyLocationPattern(org.springframework.core.io.Resource resource, String locationPattern)static StringcalculateLocalPathByDirectoryPath(String directoryPath, String uri)static StringcalculateLocalPathByLocationPattern(String locationPattern, String uri)booleanequals(Object o)FilegetFile()StringgetLocalPath()StringgetName()StringgetURI()inthashCode()StringretrieveContent()voidsetFile(File file)StringtoString()
-
-
-
Method Detail
-
byLocationPattern
public static Node byLocationPattern(org.springframework.core.io.Resource resource, String locationPattern) throws IOException
- Throws:
IOException
-
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)
-
-