Package hec.rss.model

Class RSimDssPathPartGenerator

java.lang.Object
rma.util.DSSPathPartGenerator
hec.rss.model.RSimDssPathPartGenerator

public class RSimDssPathPartGenerator extends rma.util.DSSPathPartGenerator

Title:

Description:

Copyright: Copyright (c) 2004

Company: Resource Management Associates.

  • Constructor Details

    • RSimDssPathPartGenerator

      public RSimDssPathPartGenerator()
  • Method Details

    • generatePathnamePart

      public String generatePathnamePart(List nameParts, String delimeter)
      Generates a new path name part based on a list of strings that make up the pathname part. If the pathname part is greater than the 64 DSS imposed path part size limit, than some truncation will be done. The resultant string will be returned. The truncation algorithm is intelligent enough to not generate same truncated string value for two different strings. For example if the part size was 4 and the strings "123456" invalid input: '&' "123457" were passed in, the truncated string for the first string would be "12~1" and the second will be "12~2".
      Overrides:
      generatePathnamePart in class rma.util.DSSPathPartGenerator
      Parameters:
      nameParts - List
      delimeter - String
      Returns:
      String