Package org.apache.myfaces.resource
Class ResourceLoaderUtils
- java.lang.Object
-
- org.apache.myfaces.resource.ResourceLoaderUtils
-
public class ResourceLoaderUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description ResourceLoaderUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
formatDateHeader(long value)
static int
getDepth(String path)
static long
getResourceLastModified(URL url)
static boolean
isDirectory(String path)
static Long
parseDateHeader(String value)
-
-
-
Method Detail
-
formatDateHeader
public static String formatDateHeader(long value)
-
getResourceLastModified
public static long getResourceLastModified(URL url) throws IOException
- Throws:
IOException
-
getDepth
public static int getDepth(String path)
-
isDirectory
public static boolean isDirectory(String path)
-
-