org.apache.myfaces.resource
Class ResourceUtils

java.lang.Object
  extended by org.apache.myfaces.resource.ResourceUtils

public class ResourceUtils
extends java.lang.Object


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

Constructor Detail

ResourceUtils

public ResourceUtils()
Method Detail

formatDateHeader

public static java.lang.String formatDateHeader(long value)

parseDateHeader

public static java.lang.Long parseDateHeader(java.lang.String value)

getResourceLastModified

public static long getResourceLastModified(java.net.URL url)
                                    throws java.io.IOException
Throws:
java.io.IOException

getResourceLastModified

public static long getResourceLastModified(java.net.URLConnection connection)
                                    throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2010 The Apache Software Foundation. All Rights Reserved.