Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Java Library for reading, writing and validating Nist files.

License

Apache-2.0, Unknown licenses found

Licenses found

Apache-2.0
LICENSE
Unknown
license-header.txt
NotificationsYou must be signed in to change notification settings

nist4j/nist4j

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

Java library for read, write, create and validate Nist format files (NBIS).

Record Types and features implementation

RTReadWriteBuildValidate
RT1YYYY
RT2YYYY
RT3YYYY
RT4YYYY
RT5YYYY
RT6YYYY
RT7YYYN
RT8YYYN
RT9YYYN
RT10Y(1)Y(1)Y(2)N
RT11Y(1)Y(1)Y(2)N
RT12Y(1)Y(1)Y(2)N
RT13YYYY
RT14YYYY
RT15YYYN
RT16Y(1)Y(1)Y(2)N
RT17Y(1)Y(1)Y(2)N
RT18Y(1)Y(1)Y(2)N
RT19Y(1)Y(1)Y(2)N
RT20Y(1)Y(1)Y(2)N
RT21Y(1)Y(1)Y(2)N
RT22Y(1)Y(1)Y(2)N
RT98Y(1)Y(1)Y(2)N
RT99Y(1)Y(1)Y(2)N
  • (1) Using default serializer
  • (2) You can build using fields id but no Fields enum is provided

Usage

Creating a NistFile

NistRecordrt1 =newRT1TransactionInformationNistRecordBuilderImpl(CreateNistFile.DEFAULT_OPTIONS_FOR_CREATE)        .withField(RT1FieldsEnum.VER,newFieldText("0400"))        .withField(RT1FieldsEnum.DAT,newFieldText("20091117"))        .withField(RT1FieldsEnum.DAI,newFieldText("DAI000000"))        .build();NistFilenistFile =newCreateNistFile().execute()    .withRecord(RT1,rt1)    .build();

Read a NistFile

NistFilenistFile =newReadNistFile().execute(Files.newInputStream("input.nist"));

Write a NistFile

FileoutputFile =File.createTempFile("output",".nist");WriteNistFilewriteNistFile =newWriteNistFile();OutputStreamos =writeNistFile.execute(nistFile,Files.newOutputStream(outputFile.toPath()));

Validate a NistFile

ValidateNistFileWithStandardFormatvalidateNistFileWithStandardFormat =newValidateNistFileWithStandardFormat();List<NistValidationError>errorsNist =validateNistFileWithStandardFormat.execute(nist);

License

Nist4j is licensed by Sopra Steriaunder the Apache License, version 2.0.A copy of this license is provided in the LICENSE file.

Inception

The Initial Developer of some parts of the framework, which are copied from, derived from, orinspired by Jnbis (https://github.com/mhshams/jnbis) under Apache 2.0 License is Mohammad Sarbandi.

About

Java Library for reading, writing and validating Nist files.

Topics

Resources

License

Apache-2.0, Unknown licenses found

Licenses found

Apache-2.0
LICENSE
Unknown
license-header.txt

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp