public class PathSegmentServiceDefault extends Object implements PathSegmentService
Modifier and Type | Field and Description |
---|---|
int |
maxSize |
Pattern |
stupidRegexp |
Constructor and Description |
---|
PathSegmentServiceDefault() |
Modifier and Type | Method and Description |
---|---|
String |
generatePathSegment(DocumentModel doc)
Generate the path segment to use for a
DocumentModel that's about
to be created. |
public Pattern stupidRegexp
public int maxSize
public String generatePathSegment(DocumentModel doc) throws ClientException
PathSegmentService
DocumentModel
that's about
to be created.generatePathSegment
in interface PathSegmentService
doc
- the document/
characterClientException
Copyright © 2013 Nuxeo SA. All Rights Reserved.