Examples of BucketFileCreator


Examples of com.splunk.shuttl.archiver.importexport.BucketFileCreator

   * @return create csv bucket with real splunk data.
   */
  public static LocalBucket createRealCsvBucket() {
    LocalBucket realCsvBucketCopy = copyBucketWithUrl(REAL_CSV_BUCKET_URL);
    File csvFile = UtilsBucket.getCsvFile(realCsvBucketCopy);
    BucketFileCreator bucketFileCreator = BucketFileCreator.createForCsv();
    return bucketFileCreator.createBucketWithFile(csvFile, realCsvBucketCopy);
  }
View Full Code Here

Examples of com.splunk.shuttl.archiver.importexport.BucketFileCreator

public class TgzFormatExporterTest {

  public void __createsATgzThenCreatesTheBucketObject() {
    CreatesBucketTgz createsBucketTgz = CreatesBucketTgz
        .create(new LocalFileSystemPaths(createDirectory()));
    BucketFileCreator bucketFileCreator = BucketFileCreator.createForTgz();

    TgzFormatExporter toTgz = new TgzFormatExporter(createsBucketTgz,
        bucketFileCreator);

    LocalBucket bucket = TUtilsBucket.createBucket();
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.