Creates a new builder with the same details as the supplied file.
@param f the file
@return returns a new builder
328873
public static Builder with(AnnotatedFile f) {
		return new Builder(f.getPath()).formatName(f.getFormatName()).extension(f.getExtension()).mediaType(f.getMediaType()).properties(f.getProperties());
	}
246734
@Nonnull
	public static <T, R> LObjIntBoolFunction<T, R> objIntBoolFunctionFrom(Consumer<LObjIntBoolFunctionBuilder<T, R>> buildingFunction) {
		LObjIntBoolFunctionBuilder builder = new LObjIntBoolFunctionBuilder();
		buildingFunction.accept(builder);
		return builder.build();
	}
768143
@Nonnull
	public static <T1, T2, R> LBiObjIntFunction<T1, T2, R> biObjIntFunctionFrom(Consumer<LBiObjIntFunctionBuilder<T1, T2, R>> buildingFunction) {
		LBiObjIntFunctionBuilder builder = new LBiObjIntFunctionBuilder();
		buildingFunction.accept(builder);
		return builder.build();
	}
646379
@Nonnull
	public static <T, R> LObjFltFunction<T, R> objFltFunctionFrom(Consumer<LObjFltFunctionBuilder<T, R>> buildingFunction) {
		LObjFltFunctionBuilder builder = new LObjFltFunctionBuilder();
		buildingFunction.accept(builder);
		return builder.build();
	}
729065
@Nonnull
	public static <T> LObjDblPredicate<T> objDblPredicateFrom(Consumer<LObjDblPredicateBuilder<T>> buildingFunction) {
		LObjDblPredicateBuilder builder = new LObjDblPredicateBuilder();
		buildingFunction.accept(builder);
		return builder.build();
	}
1155504
@Nonnull
	public static LFltToSrtFunction fltToSrtFunctionFrom(Consumer<LFltToSrtFunctionBuilder> buildingFunction) {
		LFltToSrtFunctionBuilder builder = new LFltToSrtFunctionBuilder();
		buildingFunction.accept(builder);
		return builder.build();
	}
821022
public static Builder v2Builder(String name) {
        return new Builder(name, V2MarshallerSet.marshallers(), V2MarshallerSet.setMarshallers(),
                           StandardUnmarshallerSet.unmarshallers(),
                           StandardUnmarshallerSet.setUnmarshallers());
    }
283247
@Nonnull
	public static <T, R> LObjBiIntFunction<T, R> objBiIntFunctionFrom(Consumer<LObjBiIntFunctionBuilder<T, R>> buildingFunction) {
		LObjBiIntFunctionBuilder builder = new LObjBiIntFunctionBuilder();
		buildingFunction.accept(builder);
		return builder.build();
	}
997873
@Override
    public FileBuilder addFile(Path source, String target) throws IOException
    {
        checkTarget(target);
        FileBuilder fb = new FileBuilder(target, source);
        fileBuilders.add(fb);
        return fb;
    }
144117
public static Key make(File f) {
    Futures fs = new Futures();
    Key key = make(f, fs);
    fs.blockForPending();
    return key;
  }
188037
public static Builder newBuilder(String bucket, String name, Long generation) {
    return newBuilder(BlobId.of(bucket, name, generation));
  }
2559
@Nonnull
	public static <T> LObjFltConsumer<T> objFltConsumerFrom(Consumer<LObjFltConsumerBuilder<T>> buildingFunction) {
		LObjFltConsumerBuilder builder = new LObjFltConsumerBuilder();
		buildingFunction.accept(builder);
		return builder.build();
	}
164614
@Nonnull
	public static <T> LObjIntConsumer<T> objIntConsumerFrom(Consumer<LObjIntConsumerBuilder<T>> buildingFunction) {
		LObjIntConsumerBuilder builder = new LObjIntConsumerBuilder();
		buildingFunction.accept(builder);
		return builder.build();
	}
1057475
@Nonnull
	public static <T1, T2, R> LObjIntObjFunctionBuilder<T1, T2, R> objIntObjFunction() {
		return new LObjIntObjFunctionBuilder();
	}
913447
@Override
    public FileBuilder addFile(Path source, Path target) throws IOException
    {
        checkTarget(target);
        FileBuilder fb =  new FileBuilder();
        fb.target = target;
        fb.size = (int) Files.size(source);
        try (FileChannel fc = FileChannel.open(source, READ))
        {
            fb.content = fc.map(FileChannel.MapMode.READ_ONLY, 0, fb.size);
        }
        FileTime fileTime = Files.getLastModifiedTime(source);
        fb.time = (int)fileTime.to(TimeUnit.SECONDS);
        fb.compressFilename();
        fileBuilders.add(fb);
        return fb;
    }
1358247
@Nonnull
	public static <T> LOiToDblFunction<T> oiToDblFunctionFrom(Consumer<LOiToDblFunctionBuilder<T>> buildingFunction) {
		LOiToDblFunctionBuilder builder = new LOiToDblFunctionBuilder();
		buildingFunction.accept(builder);
		return builder.build();
	}
1022626
@Nonnull
	public static <T1, T2, R> LBiObjFltFunctionBuilder<T1, T2, R> biObjFltFunction(Consumer<LBiObjFltFunction<T1, T2, R>> consumer) {
		return new LBiObjFltFunctionBuilder(consumer);
	}