Package com.lpvs.entity
Class LPVSFile
java.lang.Object
com.lpvs.entity.LPVSFile
Represents a file in the LPVS system.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionConverts byte ranges to line numbers in a file.Converts the set of licenses to a formatted string.
-
Constructor Details
-
LPVSFile
public LPVSFile()
-
-
Method Details
-
convertLicensesToString
Converts the set of licenses to a formatted string.- Parameters:
vcs
- The version control system.- Returns:
- A formatted string representing the licenses.
-
convertBytesToLinesNumbers
Converts byte ranges to line numbers in a file.- Returns:
- A string representing the start and end line numbers corresponding to the byte ranges. Returns an empty string if the input does not start with "BYTES:" or if an error occurs.
-