Examples of FileType


Examples of org.gephi.io.importer.api.FileType

    public String getName() {
        return IDENTIFER;
    }

    public FileType[] getFileTypes() {
        FileType ft = new FileType(".gdf", NbBundle.getMessage(getClass(), "fileType_GDF_Name"));
        return new FileType[]{ft};
    }
View Full Code Here

Examples of org.gephi.io.importer.api.FileType

    public String getName() {
        return IDENTIFER;
    }

    public FileType[] getFileTypes() {
        FileType ft = new FileType(".tlp", NbBundle.getMessage(getClass(), "fileType_TLP_Name"));
        return new FileType[]{ft};
    }
View Full Code Here

Examples of org.gephi.io.importer.api.FileType

    public String getName() {
        return IDENTIFER;
    }

    public FileType[] getFileTypes() {
        FileType ft = new FileType(".net", NbBundle.getMessage(getClass(), "fileType_NET_Name"));
        return new FileType[]{ft};
    }
View Full Code Here

Examples of org.gephi.io.importer.api.FileType

    public String getName() {
        return IDENTIFER;
    }

    public FileType[] getFileTypes() {
        FileType ft = new FileType(".graphml", NbBundle.getMessage(getClass(), "fileType_GraphML_Name"));
        return new FileType[]{ft};
    }
View Full Code Here

Examples of org.gephi.io.importer.api.FileType

    public String getName() {
        return IDENTIFER;
    }

    public FileType[] getFileTypes() {
        FileType ft = new FileType(".dl", NbBundle.getMessage(getClass(), "fileType_DL_Name"));
        return new FileType[]{ft};
    }
View Full Code Here

Examples of org.jab.docsearch.constants.FileType

            return false;
        }

        // check filetype is known
        String extension = FileUtils.getFileExtension(filename);
        FileType fileType = FileType.fromValue(extension);

        return FileType.UNKNOWN != fileType;
    }
View Full Code Here

Examples of org.jboss.ejb3.packagemanager.metadata.FileType

   {
      if (file == null)
      {
         return null;
      }
      FileType fileType = file.getType();
      if (fileType == FileType.CONFIG)
      {
         return new MergingInstaller(this.pkgMgrCtx);
      }
      return new DefaultInstaller(this.pkgMgrCtx);
View Full Code Here

Examples of org.jclouds.atmos.domain.FileType

            org.jclouds.blobstore.domain.PageSet<? extends StorageMetadata> from) {

      return new BoundedLinkedHashSet<DirectoryEntry>(Iterables.transform(from,
               new Function<StorageMetadata, DirectoryEntry>() {
                  public DirectoryEntry apply(StorageMetadata from) {
                     FileType type = (from.getType() == StorageType.FOLDER || from.getType() == StorageType.RELATIVE_PATH) ? FileType.DIRECTORY
                              : FileType.REGULAR;
                     return new DirectoryEntry(from.getProviderId(), type, from.getName());
                  }

               }), from.getNextMarker());
View Full Code Here

Examples of org.jmule.core.sharingmanager.FileType

      data.putShort(Convert.intToShort(str_content.length));
      data.put(str_content);
      return data.array();
    }
    if (type == FILETYPE) {
      FileType type = (FileType)getValue(Tree.DATA_KEY);
      ByteBuffer data = Misc.getByteBuffer(1 + 2 + type.getBytes().length + 2 + TAG_NAME_FILE_TYPE.length);
      data.position(0);
      data.put(SEARCH_BY_META);
      data.putShort(Convert.intToShort(type.getBytes().length));
      data.put(type.getBytes());
      data.putShort(Convert.intToShort(TAG_NAME_FILE_TYPE.length));
      data.put(TAG_NAME_FILE_TYPE);
      return data.array();
    }
   
View Full Code Here

Examples of org.ngrinder.script.model.FileType

  public List<FileEntry> getLibAndResourceEntries(User user, FileEntry scriptEntry, long revision) {
    List<FileEntry> fileList = newArrayList();
    String basePath = getBasePath(scriptEntry);
    FileEntryRepository fileEntryRepository = getFileEntryRepository();
    for (FileEntry eachFileEntry : fileEntryRepository.findAll(user, basePath + RESOURCES, revision, true)) {
      FileType fileType = eachFileEntry.getFileType();
      if (fileType.isResourceDistributable()) {
        fileList.add(eachFileEntry);
      }
    }

    for (FileEntry eachFileEntry : fileEntryRepository.findAll(user, basePath + JAVA, revision, true)) {
      FileType fileType = eachFileEntry.getFileType();

      if (fileType.isLibDistributable() && !eachFileEntry.getPath().equals(scriptEntry.getPath())) {
        fileList.add(eachFileEntry);
      }
    }

    for (FileEntry eachFileEntry : fileEntryRepository.findAll(user, basePath + GROOVY, revision, true)) {
      FileType fileType = eachFileEntry.getFileType();
      if (fileType.isLibDistributable() && !eachFileEntry.getPath().equals(scriptEntry.getPath())) {
        fileList.add(eachFileEntry);
      }
    }

    for (FileEntry eachFileEntry : fileEntryRepository.findAll(user, basePath + LIB, revision, true)) {
      FileType fileType = eachFileEntry.getFileType();
      if (fileType.isLibDistributable()) {
        fileList.add(eachFileEntry);
      }
    }
    fileList.add(fileEntryRepository.findOne(user, basePath + "/pom.xml", SVNRevision.create(revision)));
    return fileList;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.