NetKernel APIs


org.ten60.netkernel.layer1.representation
Class MirrorRepresentation

java.lang.Object
  extended byorg.ten60.netkernel.layer1.representation.MirrorRepresentation

public class MirrorRepresentation
extends Object

Factory for creating representations from other representations but with slightly changed characteristics


Constructor Summary
MirrorRepresentation()
           
 
Method Summary
static IURRepresentation cast(IURRepresentation aOther, String aMimeType)
          Create a representation that will be of another MIME type
static IURRepresentation create(IURMeta aMeta, IURRepresentation aOther)
           
static IURRepresentation createIntermediate(IURRepresentation aOther)
          Creates a representation that will always be marked as intermediate
static IURRepresentation expire(IURRepresentation aOther, long aExpiry)
          Create a representation that will expire at a set time
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MirrorRepresentation

public MirrorRepresentation()
Method Detail

createIntermediate

public static IURRepresentation createIntermediate(IURRepresentation aOther)
Creates a representation that will always be marked as intermediate


cast

public static IURRepresentation cast(IURRepresentation aOther,
                                     String aMimeType)
Create a representation that will be of another MIME type


expire

public static IURRepresentation expire(IURRepresentation aOther,
                                       long aExpiry)
Create a representation that will expire at a set time


create

public static IURRepresentation create(IURMeta aMeta,
                                       IURRepresentation aOther)

NetKernel APIs


Copyright © 2002-2004 1060 Research Ltd. All Rights Reserved.