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.
-
Field Summary
Fields inherited from class rma.util.DSSPathPartGenerator
_pathPartsMap, MAX_DSS_PART_LENGTH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongeneratePathnamePart(List nameParts, String delimeter) Generates a new path name part based on a list of strings that make up the pathname part.Methods inherited from class rma.util.DSSPathPartGenerator
clearPartsMap, main
-
Constructor Details
-
RSimDssPathPartGenerator
public RSimDssPathPartGenerator()
-
-
Method Details
-
generatePathnamePart
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:
generatePathnamePartin classrma.util.DSSPathPartGenerator- Parameters:
nameParts- Listdelimeter- String- Returns:
- String
-