Class LPVSFile

java.lang.Object
com.lpvs.entity.LPVSFile

public class LPVSFile extends Object
Represents a file in the LPVS system.
  • Constructor Details

    • LPVSFile

      public LPVSFile()
  • Method Details

    • convertLicensesToString

      public String convertLicensesToString(LPVSVcs vcs)
      Converts the set of licenses to a formatted string.
      Parameters:
      vcs - The version control system.
      Returns:
      A formatted string representing the licenses.
    • convertBytesToLinesNumbers

      public String 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.