Examples of InputFile


Examples of net.pms.dlna.InputFile

            transcodeOptions.add("ac3");
          }
        }
      }

      InputFile newInput = null;
      if (filename != null) {
        newInput = new InputFile();
        newInput.setFilename(filename);
        newInput.setPush(params.stdin);
      }

      // Output video codec
      if (renderer.isTranscodeToH264()) {
        transcodeOptions.add("-c:v");
View Full Code Here

Examples of net.pms.dlna.InputFile

    DLNAResource dlna,
    DLNAMediaInfo media,
    OutputParams params
  ) throws IOException {
    final String filename = dlna.getSystemName();
    InputFile newInput = new InputFile();
    newInput.setFilename(filename);
    newInput.setPush(params.stdin);

    /*
     * Check if the video track and the container report different aspect ratios
     */
    boolean aspectRatiosMatch = true;
View Full Code Here

Examples of net.pms.dlna.InputFile

      } else {
        externalSubtitlesFileName = ProcessUtil.getShortFileNameIfWideChars(params.sid.getExternalFile().getAbsolutePath());
      }
    }

    InputFile newInput = new InputFile();
    newInput.setFilename(filename);
    newInput.setPush(params.stdin);

    dvd = false;

    if (media != null && media.getDvdtrack() > 0) {
      dvd = true;
View Full Code Here

Examples of net.pms.dlna.InputFile

      } else {
        options.add("-c:a");
        options.add("ac3");
      }

      InputFile newInput = null;
      if (filename != null) {
        newInput = new InputFile();
        newInput.setFilename(filename);
        newInput.setPush(params.stdin);
      }

      // Output video codec
      if (media.isMediaparsed()
          && params.sid == null
View Full Code Here

Examples of org.apache.trevni.InputFile

    Schema schema;
    GenericData model = GenericData.get();

    /** Construct reading from a file. */
    public Params(File file) throws IOException {
      this(new InputFile(file));
    }
View Full Code Here

Examples of org.apache.trevni.InputFile

  static Input input(String filename) throws IOException {
    if (filename.startsWith("hdfs://")) {
      return new HadoopInput(new Path(filename), new Configuration());
    } else {
      return new InputFile(new File(filename));
    }
  }
View Full Code Here

Examples of org.apache.trevni.InputFile

    Schema schema;
    GenericData model = GenericData.get();

    /** Construct reading from a file. */
    public Params(File file) throws IOException {
      this(new InputFile(file));
    }
View Full Code Here

Examples of org.jitterbit.plugin.sdk.InputFile

                            PipelinePluginContext context) throws Exception {
        logger = getDefaultLogger(context);
        logger.info("Starting the WSS UserNameTokenAppender");
        wsConfig = createWsConfig();
        extractOptions(context);
        InputFile inputFile = loadOriginalRequest(input);
        addSecurityHeader();
        writeOutput(inputFile, output);
        return PluginResult.SUCCESS;
    }
View Full Code Here

Examples of org.sonar.api.batch.fs.InputFile

    assertThat(ComponentKeys.createEffectiveKey(project, dir)).isEqualTo("my_project:src/org/foo");

    Library library = new Library("junit:junit", "4.7");
    assertThat(ComponentKeys.createEffectiveKey(project, library)).isEqualTo("junit:junit");

    InputFile file = new DefaultInputFile("foo", "foo/Bar.php");
    assertThat(ComponentKeys.createEffectiveKey("my_project", file)).isEqualTo("my_project:foo/Bar.php");
  }
View Full Code Here

Examples of org.sonar.api.batch.fs.InputFile

    }
    return null;
  }

  private long getDevelopmentCost(DecoratorContext context) {
    InputFile file = fs.inputFile(fs.predicates().hasRelativePath(context.getResource().getKey()));
    if (file != null) {
      String language = file.language();
      return getMeasureValue(context, sqaleRatingSettings.getSizeMetric(language, metrics)) * sqaleRatingSettings.getDevCost(language);
    } else {
      Collection<Measure> childrenMeasures = context.getChildrenMeasures(CoreMetrics.DEVELOPMENT_COST);
      Double sum = sum(childrenMeasures);
      return sum.longValue();
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.