de.matrixweb.smaller.pipeline
Class Result

java.lang.Object
  extended by de.matrixweb.smaller.pipeline.Result

public class Result
extends Object

Author:
marwol

Constructor Summary
Result()
           
Result(Resources resources)
           
 
Method Summary
 Resource get(String mimeType)
           
 Resource get(Type type)
           
 Resource getCss()
          Deprecated. Use get(Type) instead
 Resource getJs()
          Deprecated. Use get(Type) instead
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Result

public Result()

Result

public Result(Resources resources)
Parameters:
resources -
Method Detail

get

public Resource get(Type type)
Parameters:
type -
Returns:
Returns the Resource matching the given type or null if none available

get

public Resource get(String mimeType)
Parameters:
mimeType -
Returns:
Returns the resource for the given mime-type

getJs

@Deprecated
public final Resource getJs()
Deprecated. Use get(Type) instead

Returns:
the js

getCss

@Deprecated
public final Resource getCss()
Deprecated. Use get(Type) instead

Returns:
the css


Copyright © 2012. All Rights Reserved.