| | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Component; |
| | | |
| | | import java.io.IOException; |
| | | import java.io.InputStream; |
| | | |
| | | |
| | | @Component("defaultProcessor") |
| | | public class DefaultProcessor extends AbstractProcessor{ |
| | |
| | | @Autowired |
| | | private ProgramAnnotationService programAnnotationService; |
| | | private String controlSystem; |
| | | private AnnotationProperties annotationPropreties; |
| | | |
| | | |
| | | @Override |
| | | public InputStream putAnnotation(AnnotationData annoData, InputStream inputStream) throws IOException { |
| | | InputStream insAfter = super.putFilenameAnnotation(annoData.getFilename(),inputStream); |
| | | |
| | | return super.putAnnotation(annoData, insAfter); |
| | | |
| | | } |
| | | |
| | | |
| | | @Override |
| | | public void setControlSystem(String controlSystemDictVal) { |
| | | this.controlSystem = controlSystemDictVal; |
| | | } |
| | | |
| | | @Override |
| | | public void setAnnotationProperties(AnnotationProperties annotationProperties) { |
| | | this.annotationPropreties= annotationProperties; |
| | | } |
| | | |
| | | @Override |