com.metaweb.lessen
Class Utilities

java.lang.Object
  extended by com.metaweb.lessen.Utilities

public class Utilities
extends Object


Constructor Summary
Utilities()
           
 
Method Summary
static Tokenizer open(File file)
           
static Tokenizer open(Reader reader)
           
static Tokenizer open(String s)
           
static Tokenizer open(URL url)
           
static Tokenizer openLess(File file, Map<String,String> variables)
           
static Tokenizer openLess(File file, Map<String,String> variables, Scope scope)
           
static Tokenizer openLess(URL url, Map<String,String> variables)
           
static Tokenizer openLess(URL url, Map<String,String> variables, Scope scope)
           
static void print(Tokenizer tokenizer, PrintStream ps)
           
protected static Tokenizer wrap(Tokenizer t)
           
protected static Tokenizer wrapLess(Tokenizer tokenizer, ResourceFinder resourceFinder, Map<String,String> variables, Scope scope)
           
static void write(Tokenizer tokenizer, Writer writer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utilities

public Utilities()
Method Detail

open

public static Tokenizer open(String s)

open

public static Tokenizer open(Reader reader)

open

public static Tokenizer open(File file)
                      throws FileNotFoundException
Throws:
FileNotFoundException

open

public static Tokenizer open(URL url)
                      throws IOException
Throws:
IOException

openLess

public static Tokenizer openLess(File file,
                                 Map<String,String> variables)
                          throws FileNotFoundException
Throws:
FileNotFoundException

openLess

public static Tokenizer openLess(File file,
                                 Map<String,String> variables,
                                 Scope scope)
                          throws FileNotFoundException
Throws:
FileNotFoundException

openLess

public static Tokenizer openLess(URL url,
                                 Map<String,String> variables)
                          throws IOException
Throws:
IOException

openLess

public static Tokenizer openLess(URL url,
                                 Map<String,String> variables,
                                 Scope scope)
                          throws IOException
Throws:
IOException

write

public static void write(Tokenizer tokenizer,
                         Writer writer)
                  throws IOException
Throws:
IOException

print

public static void print(Tokenizer tokenizer,
                         PrintStream ps)
                  throws IOException
Throws:
IOException

wrap

protected static Tokenizer wrap(Tokenizer t)

wrapLess

protected static Tokenizer wrapLess(Tokenizer tokenizer,
                                    ResourceFinder resourceFinder,
                                    Map<String,String> variables,
                                    Scope scope)


Copyright © 2011. All Rights Reserved.