Package pt.webdetails.cdf.dd.reader.factory

Examples of pt.webdetails.cdf.dd.reader.factory.ResourceLoaderFactory


  private IBasicFile[] getFileList( String dir, String dashboardPath, final String fileExtensions, String permission,
                                    boolean showHiddenFiles ) {

    ArrayList<String> extensionsList = new ArrayList<String>();
    String[] extensions = StringUtils.split( fileExtensions, "." );
    IResourceLoader loader = ( new ResourceLoaderFactory() ).getResourceLoader( dashboardPath );

    if ( extensions != null ) {
      for ( String extension : extensions ) {
        // For some reason, in 4.5 filebased rep started to report a leading dot in extensions
        // Adding both just to be sure we don't break stuff
View Full Code Here


    public static final String PATH = "path";
    public static final String DATA = "data";
  }

  protected IResourceLoader getResourceLoader( String path ) {
    return new ResourceLoaderFactory().getResourceLoader( path );
  }
View Full Code Here

TOP

Related Classes of pt.webdetails.cdf.dd.reader.factory.ResourceLoaderFactory

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.