Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add separate methods for verifying tag value and rdf file. #103

Merged
merged 1 commit into from
Jul 26, 2017

Conversation

rtgdk
Copy link
Contributor

@rtgdk rtgdk commented Jul 26, 2017

verifyTagFile for verifying only tag value file and throws exception if found otherwise.
verifyRDFFile for verifying only RDF/XML file and throws exception if found otherwise.

This will be useful when checking for file type while conversion from tag to other formats and rdf to other formats on online tool or in comparison tool for rdf files only.

I also changed the access of convertTagValueToRdf function from private to protected. I hope it doesn't create any permission error.

	*verifyTagFile for verifying only tag value file and throws exception if found otherwise.
	*verifyRDFFile for verifying only RDF/XML file and throws exception if ofund otherwise.

This will be useful when checking for file while conversion from tag to other formats and rdf to other formats on online tool or in comparison tool for rdf files only.

Signed-off-by: rtgdk <rohit.lodhartg@gmail.com>
@goneall goneall merged commit 46810db into spdx:master Jul 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants