Examples of addFile()


Examples of com.intellij.struts2.facet.ui.StrutsFileSet.addFile()

                                                                            directory);
          final Set<StrutsFileSet> empty = Collections.emptySet();
          final StrutsFileSet fileSet = new StrutsFileSet(StrutsFileSet.getUniqueId(empty),
                                                          StrutsFileSet.getUniqueName("Default File Set", empty),
                                                          strutsFacetConfiguration);
          fileSet.addFile(((XmlFile) psiElement).getVirtualFile());

          final StrutsConfigsSearcher searcher = new StrutsConfigsSearcher(module);
          searcher.search();
          final MultiMap<VirtualFile, PsiFile> jarConfigFiles = searcher.getJars();
          for (final VirtualFile virtualFile : jarConfigFiles.keySet()) {
View Full Code Here

Examples of com.intellij.xml.config.ConfigFilesTreeBuilder.addFile()

      if (file != null) {
        final PsiFile psiFile = psiManager.findFile(file);
        if (psiFile != null && psiFiles.contains(psiFile)) {
          continue;
        }
        builder.addFile(file);
      }
    }

    TreeUtil.expandAll(myFilesTree);
    myFilesTree.getModel().addTreeModelListener(new TreeModelAdapter() {
View Full Code Here

Examples of com.mucommander.commons.file.AbstractFileClassLoader.addFile()

    public List<Class<?>> find(AbstractFile browsable, ClassFilter classFilter) throws IOException {
        AbstractFileClassLoader classLoader; // Default class loader.

        // Initializes the default class loader.
        classLoader = new AbstractFileClassLoader();
        classLoader.addFile(browsable);

        // Explores browsable.
        return find(browsable, classFilter, classLoader);
    }
}
View Full Code Here

Examples of com.sun.grid.cull.CullDefinition.addFile()

        for (int i = 0; i < files.length; i++) {
            File f = new File(baseDir, files[i]);
            try {
                log("parse file " + f, Project.MSG_VERBOSE);
                ret.addFile(f);
            } catch (IOException ioe) {
                throw new BuildException("I/O Error while parsing file " + f, ioe);
            } catch (com.sun.grid.cull.ParseException e) {
                throw new BuildException("Parse Error: " + f + ": " + e.getMessage(), e);
            }
View Full Code Here

Examples of de.metalcon.utils.FormItemList.addFile()

    }
    if (index != null) {
      testItems.addField(ProtocolConstants.INDEX_PARAMETER, index);
    }
    if (image != null) {
      testItems.addFile(ProtocolConstants.IMAGE, image);
    }
    return ProcessCreateRequest.checkRequestParameter(testItems, response,
        this.servletConfig.getServletContext());
  }
}
View Full Code Here

Examples of de.saumya.mojo.gems.gem.Gem.addFile()

        }

        final Gem gem = new Gem(gemspec);

        if (artifact.getArtifactFile() != null) {
            gem.addFile(artifact.getArtifactFile(), createLibFileName(artifact,
                                                                      ".jar"));
        }

        // create "meta" ruby file
        final String rubyStubMetaPath = createLibFileName(artifact,
View Full Code Here

Examples of edu.indiana.dlib.metsnav.mets.v1_4.FileGrpType.addFile()

            public void setValue( java.lang.Object object, java.lang.Object value)
                throws IllegalStateException, IllegalArgumentException
            {
                try {
                    FileGrpType target = (FileGrpType) object;
                    target.addFile( (edu.indiana.dlib.metsnav.mets.v1_4.File) value);
                } catch (java.lang.Exception ex) {
                    throw new IllegalStateException(ex.toString());
                }
            }
            public void resetValue(Object object) throws IllegalStateException, IllegalArgumentException {
View Full Code Here

Examples of edu.indiana.dlib.metsnav.mets.v1_5.FileGrpType.addFile()

            public void setValue( java.lang.Object object, java.lang.Object value)
                throws IllegalStateException, IllegalArgumentException
            {
                try {
                    FileGrpType target = (FileGrpType) object;
                    target.addFile( (edu.indiana.dlib.metsnav.mets.v1_5.File) value);
                } catch (java.lang.Exception ex) {
                    throw new IllegalStateException(ex.toString());
                }
            }
            public void resetValue(Object object) throws IllegalStateException, IllegalArgumentException {
View Full Code Here

Examples of edu.indiana.dlib.metsnav.mets.v1_5.FileType.addFile()

            public void setValue( java.lang.Object object, java.lang.Object value)
                throws IllegalStateException, IllegalArgumentException
            {
                try {
                    FileType target = (FileType) object;
                    target.addFile( (edu.indiana.dlib.metsnav.mets.v1_5.File) value);
                } catch (java.lang.Exception ex) {
                    throw new IllegalStateException(ex.toString());
                }
            }
            public void resetValue(Object object) throws IllegalStateException, IllegalArgumentException {
View Full Code Here

Examples of edu.indiana.dlib.metsnav.mets.v1_6.FileGrpType.addFile()

            public void setValue( java.lang.Object object, java.lang.Object value)
                throws IllegalStateException, IllegalArgumentException
            {
                try {
                    FileGrpType target = (FileGrpType) object;
                    target.addFile( (edu.indiana.dlib.metsnav.mets.v1_6.File) value);
                } catch (java.lang.Exception ex) {
                    throw new IllegalStateException(ex.toString());
                }
            }
            public void resetValue(Object object) throws IllegalStateException, IllegalArgumentException {
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.