org.apache.myfaces.commons.resourcehandler.resource
Class ResourceLoaderUtils

java.lang.Object
  extended by org.apache.myfaces.commons.resourcehandler.resource.ResourceLoaderUtils

public class ResourceLoaderUtils
extends Object


Constructor Summary
ResourceLoaderUtils()
           
 
Method Summary
static String formatDateHeader(long value)
           
static long getResourceLastModified(URL url)
           
static long getResourceLastModified(URLConnection connection)
           
static Long parseDateHeader(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceLoaderUtils

public ResourceLoaderUtils()
Method Detail

formatDateHeader

public static String formatDateHeader(long value)

parseDateHeader

public static Long parseDateHeader(String value)

getResourceLastModified

public static long getResourceLastModified(URL url)
                                    throws IOException
Throws:
IOException

getResourceLastModified

public static long getResourceLastModified(URLConnection connection)
                                    throws IOException
Throws:
IOException


Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.