Examples of FileInput


Examples of flanagan.io.FileInput

      for(int i=0; i<nFiles; i++){
          this.fileNames[i] = files[i].getName();
          this.pathNames[i] = files[i].toString();
          this.dirNames[i= (files[i].getParentFile()).toString();
          this.fileObjects[i] = new FileInput(this.pathNames[i]);
          int posDot = this.fileNames[i].indexOf('.');
          if(posDot==-1){
                this.stemNames[i] = this.fileNames[i];
            }
            else{
View Full Code Here

Examples of flanagan.io.FileInput

      for(int i=0; i<nFiles; i++){
          this.fileNames[i] = files[i].getName();
          this.pathNames[i] = files[i].toString();
          this.dirNames[i= (files[i].getParentFile()).toString();
          this.fileObjects[i] = new FileInput(this.pathNames[i]);
          int posDot = this.fileNames[i].indexOf('.');
          if(posDot==-1){
                this.stemNames[i] = this.fileNames[i];
            }
            else{
View Full Code Here

Examples of horcher.sound.FileInput

      @Override
      public void run() {
        try {
          if (this.aktuellesEvent.getActionCommand() == Main.this.r
              .getString("mQODatei")) {
            Main.this.input = new FileInput();
            Main.this.input();
          } else if (this.aktuellesEvent.getActionCommand() == Main.this.r
              .getString("mQOHardware")) {
            Main.this.input = new DirectInput();
            Main.this.input();
View Full Code Here

Examples of org.molgenis.framework.ui.html.FileInput

  }

  @Override
  public HtmlInput<?> createInput(String name, String xrefEntityClassName) throws HtmlInputException
  {
    return new FileInput(name);
  }
View Full Code Here

Examples of org.molgenis.framework.ui.html.FileInput

    // remove not-null constraints
    for (HtmlInput<?> i : inputs)
      i.setNillable(true);

    // add the file input for csv
    FileInput csvInput = new FileInput("__csvdata");
    csvInput.setLabel("CSV file");
    csvInput.setTooltip("choose here your data in comma-separated format.");
    csvInput.setDescription("Select your CSV file here.");
    inputs.add(csvInput);

    return inputs;
  }
View Full Code Here

Examples of uk.ac.ucl.panda.filtering.collabfiltering.util.FileInput

     * @param filename the filename of the data set
     * @param delimiter the delimiter
     */
    private void readDataset(String filename, String delimiter)
    {
        FileInput in = new FileInput(filename);
        while (in.hasNextLine())
        {
            String[] split = in.nextLine().split(delimiter);
            int user = Integer.valueOf(split[0]);
            int item = Integer.valueOf(split[1]);
            double rating = Double.valueOf(split[2]);

            super.setRating(user, item, rating);
        }
        in.close();
    }
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.