Package net.sf.gluebooster.java.booster.basic.resources

Examples of net.sf.gluebooster.java.booster.basic.resources.ResourceSystem


   *            the name of the file
   * @return the created stream
   */
  private OutputStream getOutputStream(DocumentationContext documentationContext, BoostedNode documentationNode, String filename) throws Exception{
    setOutputFile(documentationNode);
    ResourceSystem filesystem = documentationContext.getAttributes().getFromAttributes(ResourceSystem.class);
    if (filesystem == null)
      filesystem = new FileResourceSystem();
   
    File file = documentationContext.getFromAttributesMap(File.class);
    getLog().debug("outputstream = ", file);
    OutputStream out = filesystem.getOutputStream(new File(file, filename));

    return out;
  }
View Full Code Here

TOP

Related Classes of net.sf.gluebooster.java.booster.basic.resources.ResourceSystem

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.