Examples of file()


Examples of ariba.ui.aribaweb.util.AWFileData.file()

            setValueForBinding(fileData.mimeType(), BindingNames.mimeType);
            setValueForBinding(fileData.fileIncomplete(), BindingNames.fileSizeExceeded);

            // Only one binding for file data is honored. Precedence order: file, input stream, byte array.
            if (parent().hasBinding(BindingNames.file)) {
                File file = fileData.file();
                if ((file == null) && (fileData.data() != null)) {
                    throw new AWGenericException("File binding not supported for in memory file uploads");
                }
                setValueForBinding(file, BindingNames.file);
            }
View Full Code Here

Examples of com.apelle.acsv.annotations.CSVCase.file()

                    LOGGER.fatal("Only one Method could be used as default case");
                    throw new RuntimeException("One one Method could be used as default case");
                }

                if (csvCase.type().equals(CSVCase.OutputType.FILE)) {
                    streams.put(csvCase.caseNum(), new FileOutputStream(new File(csvCase.file())));
                }
            }

            if (m.getAnnotation(CSVBegin.class) != null) {
                beginMethod = m;
View Full Code Here

Examples of com.aragost.javahg.Repository.file()

    public List<File> execute() {
        List<File> result = Lists.newArrayList();
        Repository repo = getRepository();
        for (String line : launchIterator()) {
            result.add(repo.file(line));
        }
        return result;
    }

}
View Full Code Here

Examples of com.axemblr.provisionr.api.software.SoftwareBuilder.file()

            result.addPackage(pkg);
        }

        // Add all the new files
        for (FileEntry entry : files) {
            result.file(entry.getSource(), entry.getDestination());
        }

        // Add all the new custom repositories
        for (RepositoryEntry entry : repositories) {
            result.repository(Repository.builder().name(entry.getId()).key(entry.getKey())
View Full Code Here

Examples of com.badlogic.gdx.files.FileHandle.file()

      System.out.println("Usage: inputDir [outputDir] [packFileName]");
      System.exit(0);
    }

    FileHandle inputFileHandle = new FileHandle(input);
    File inputFile = inputFileHandle.file();

    if (output == null) {
      File outputFile = new File(inputFile.getParentFile(), "output");
      if (!outputFile.exists()) {
        outputFile.mkdir();
View Full Code Here

Examples of com.db4o.config.EmbeddedConfiguration.file()

    config.common().activationDepth(0);
    config.common().allowVersionUpdates(true);
    config.common().callConstructors(true);
    config.common().callbacks(false);
    config.common().weakReferences(false);
    config.file().freespace().useRamSystem();
    config.file().storage(new NonFlushingStorage(new FileStorage()));
    return config;
  }

  public String getBlobDirectory() {
View Full Code Here

Examples of com.db4o.config.EmbeddedConfiguration.file()

    config.common().allowVersionUpdates(true);
    config.common().callConstructors(true);
    config.common().callbacks(false);
    config.common().weakReferences(false);
    config.file().freespace().useRamSystem();
    config.file().storage(new NonFlushingStorage(new FileStorage()));
    return config;
  }

  public String getBlobDirectory() {
    return directory;
View Full Code Here

Examples of com.rescripter.resources.ClasspathScriptLoader.file()

      return ScriptableObject.getProperty(scope, name);
    }

    private void includeSystem() throws IOException, CoreException {
      ClasspathScriptLoader loader = new ClasspathScriptLoader(this, scriptStack, fileReader);
      loader.file("System.rs");
    }

  public void done() {
    if (debugMessage != null) {
      debugMessage.done();
View Full Code Here

Examples of com.rescripter.resources.WorkspaceScriptLoader.file()

      allowing(otherFile).getFullPath(); will(returnValue(new Path(otherFilename)));
    }});
   
    WorkspaceScriptLoader loader = new WorkspaceScriptLoader(location, scriptRunner, scriptStack, fileReader);
   
    loader.file(otherFilename);
   
    context.assertIsSatisfied();
  }
}
View Full Code Here

Examples of com.sissi.protocol.iq.si.Si.file()

  }

  @Override
  public boolean input(JIDContext context, Protocol protocol) {
    Si si = protocol.cast(Si.class);
    return si.file() ? this.trace(context, si) : true;
  }

  private boolean trace(JIDContext context, Si si) {
    return this.tracerContext.trace(si);
  }
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.