Package org.olat.fileresource.types

Examples of org.olat.fileresource.types.PdfFileResource


      // extract type
      try {
        if (DocFileResource.validate(fResource)) tempFr = new DocFileResource();
        else if (XlsFileResource.validate(fResource)) tempFr = new XlsFileResource();
        else if (PowerpointFileResource.validate(fResource)) tempFr = new PowerpointFileResource();
        else if (PdfFileResource.validate(fResource)) tempFr = new PdfFileResource();
        else if (ImageFileResource.validate(fResource)) tempFr = new ImageFileResource();
        else if (MovieFileResource.validate(fResource)) tempFr = new MovieFileResource();
        else if (SoundFileResource.validate(fResource)) tempFr = new SoundFileResource();
        else if (AnimationFileResource.validate(fResource)) tempFr = new AnimationFileResource();
        else if (SharedFolderFileResource.validate(fResource)) tempFr = new SharedFolderFileResource();
View Full Code Here

TOP

Related Classes of org.olat.fileresource.types.PdfFileResource

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.