| | |
| | | |
| | | public class AnnotationUtil { |
| | | static String DEFAULT_ANNOTATION_SETTING = "(,)"; |
| | | public static final String SQ = "SQ"; |
| | | public static final String GH = "GH"; |
| | | public static final String LG = "LG"; |
| | | |
| | | /** |
| | | * 判断是否是注释行 |
| | | * @param text 文字 |
| | | * @return 是否 |
| | | */ |
| | | public static boolean isStatusContent(String text){ |
| | | return StringUtils.containsAny(text,SQ,GH,LG); |
| | | } |
| | | public static ProgramAnnotation getProgramAnnotationFormat(String systemDictVal, List<DictBiz> annoDictList){ |
| | | String begin; |
| | | String end; |
| | |
| | | return finishedStream; |
| | | } |
| | | |
| | | public static String removeAnnotation(String systemDictVal,String text,List<DictBiz> annotatiionList){ |
| | | return getProgramAnnotationFormat(systemDictVal,annotatiionList).cleanAnnotation(text); |
| | | } |
| | | } |