public class ValidationInput extends Object
ValidationInput is the source container.| Constructor | Description |
|---|---|
ValidationInput(File input,
InputFormatType format) |
Constructor to define a Validation input when source is a file.
|
ValidationInput(InputStream inputStream,
InputFormatType format) |
Default constructor.
|
ValidationInput(Object input) |
Constructor to define a Validation input when source is a object.
|
| Modifier and Type | Method | Description |
|---|---|---|
File |
getFile() |
Return the source input file.
|
InputFormatType |
getInputFormat() |
Return the file input format (CSV, XML).
|
InputStream |
getInputStream() |
Return the source as InputStream.
|
InputSourceType |
getInputType() |
Return the source input type.
|
Object |
getObject() |
Return the source input object.
|
public ValidationInput(File input, InputFormatType format)
input - The file to validateformat - the file input type (XML, CSV..)public ValidationInput(Object input)
input - The Object to validatepublic ValidationInput(InputStream inputStream, InputFormatType format)
inputStream - the input streamformat - the formatpublic File getFile()
public Object getObject()
public InputSourceType getInputType()
public InputFormatType getInputFormat()
public InputStream getInputStream()
Copyright © 2025. All rights reserved.