com.atlassian.jira.web.less
Class LessFileLoader

java.lang.Object
  extended by com.atlassian.jira.web.less.LessFileLoader
All Implemented Interfaces:
Loader
Direct Known Subclasses:
PluginLoader, WebContextLoader

public abstract class LessFileLoader
extends Object
implements Loader

An abstraction for loading less files referenced via "@import".


Constructor Summary
protected LessFileLoader(com.atlassian.plugin.elements.ResourceLocation originalLocation, ApplicationProperties applicationProperties, com.atlassian.plugin.webresource.WebResourceIntegration webResourceIntegration)
           
 
Method Summary
protected abstract  InputStream getResourceInputStream(String destPath)
           
 String load(String url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LessFileLoader

protected LessFileLoader(com.atlassian.plugin.elements.ResourceLocation originalLocation,
                         ApplicationProperties applicationProperties,
                         com.atlassian.plugin.webresource.WebResourceIntegration webResourceIntegration)
Method Detail

load

public String load(String url)
            throws IOException
Specified by:
load in interface Loader
Throws:
IOException

getResourceInputStream

protected abstract InputStream getResourceInputStream(String destPath)


Copyright © 2002-2012 Atlassian. All Rights Reserved.