public class ResourceLoaderUtils extends Object
Constructor and Description |
---|
ResourceLoaderUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
formatDateHeader(long value) |
static int |
getDepth(String path) |
static long |
getResourceLastModified(URL url) |
static long |
getResourceLastModified(URLConnection connection) |
static boolean |
isDirectory(String path) |
static Long |
parseDateHeader(String value) |
public static String formatDateHeader(long value)
public static long getResourceLastModified(URL url) throws IOException
IOException
public static long getResourceLastModified(URLConnection connection) throws IOException
IOException
public static int getDepth(String path)
public static boolean isDirectory(String path)
Copyright © 2020 The Apache Software Foundation. All rights reserved.