1 20 21 package org.apache.directory.ldapstudio.browser.core.model.ldif.lines; 22 23 24 import org.apache.directory.ldapstudio.browser.core.BrowserCoreConstants; 25 26 27 public class LdifCommentLine extends LdifNonEmptyLineBase 28 { 29 30 private static final long serialVersionUID = -4810053047583328865L; 31 32 33 protected LdifCommentLine() 34 { 35 } 36 37 38 public LdifCommentLine( int offset, String rawComment, String rawNewLine ) 39 { 40 super( offset, rawComment, rawNewLine ); 41 } 42 43 44 public String getRawComment() 45 { 46 return super.getRawLineStart(); 47 } 48 49 50 public String getUnfoldedComment() 51 { 52 return super.getUnfoldedLineStart(); 53 } 54 55 56 public String toRawString() 57 { 58 return super.toRawString(); 59 } 60 61 62 public boolean isValid() 63 { 64 return super.isValid(); 65 } 66 67 68 public String getInvalidString() 69 { 70 return super.getInvalidString(); 71 } 72 73 74 public static LdifCommentLine create( String comment ) 75 { 76 return new LdifCommentLine( 0, comment, BrowserCoreConstants.LINE_SEPARATOR ); 77 } 78 79 } 80 | Popular Tags |