All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.zhengframework.configuration.io.FileLocator Maven / Gradle / Ivy

There is a newer version: 1.8.0
Show newest version
package com.github.zhengframework.configuration.io;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode
@ToString

public class FileLocator {

  private String fileName;

  private String basePath;

  private String sourceURL;

  private String encoding;

  public FileLocator copy() {
    return FileLocator.builder()
        .fileName(fileName)
        .basePath(basePath)
        .encoding(encoding)
        .sourceURL(sourceURL)
        .build();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy