Package br.com.jteam.jfcm.gui

Examples of br.com.jteam.jfcm.gui.PresentationFile


  @SuppressWarnings("unchecked")
  private PresentationFile<?> adapt2Presentation(File file)
  {
    PresentationFile<?> presentationFile =
      new PresentationFile(file.getName(), file.getPath(), FileType.DEFAULT);
    Iterator<File> iterator = file.iterator();
    while (iterator.hasNext()) {
      File fileToBeAdded = iterator.next();
      PresentationFile<?> presFile = adapt2Presentation(fileToBeAdded);
      presentationFile.add(presFile);
    }
    return presentationFile;
  }
View Full Code Here


  public PresentationFileHistory getHistory()
  {
    FileHistory fileHistory = fileListContentService.getHistory();
    PresentationFileHistory presentationFileHistory = new PresentationFileHistory();
    for (File file : fileHistory) {
      presentationFileHistory.add(new PresentationFile(
        file.getName(),
        file.getPath(),
        FileType.getFileTypeByFileName(file.getName())));
    }
    return presentationFileHistory;
View Full Code Here

TOP

Related Classes of br.com.jteam.jfcm.gui.PresentationFile

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.