Package com.liferay.faces.demos.dto

Examples of com.liferay.faces.demos.dto.CodeExample


        sourceCodeText = buf.toString();
      }

      sourceCodeText = sourceCodeText.trim();

      return new CodeExample(sourceFileName, fileExtension, sourceFileURL, textResource.getLastModified(),
          sourceCodeText);
    }
    else {
      throw new IOException("Unable to locate " + sourceFileURL);
    }
View Full Code Here


                }

                if (sourceFileURL != null) {

                  startupFacesContext.getApplication().getProjectStage();
                  CodeExample codeExample = CodeExampleUtil.read(sourceFileURL, sourceFileName, productionMode);
                  codeExamples.add(codeExample);

                  logger.debug("Loaded source file=[{0}]", sourceFileName);
                }
                else {
View Full Code Here

TOP

Related Classes of com.liferay.faces.demos.dto.CodeExample

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.