Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package phpscanner;
- import java.io.InputStream;
- import java.util.HashMap;
- import java.util.Map;
- import com.ibm.team.enterprise.metadata.scanner.IMetadataValueType;
- import com.ibm.team.enterprise.metadata.scanner.IScannerData;
- import com.ibm.team.enterprise.metadata.scanner.common.AbstractFileMetadataScanner;
- public class PHPScanner extends AbstractFileMetadataScanner {
- @Override
- public Map<String, IMetadataValueType> getGeneralMetadataTypes() {
- Map<String, IMetadataValueType> metadataTypes = new HashMap<String, IMetadataValueType>();
- metadataTypes.put("Bla", IMetadataValueType.STRING);
- return metadataTypes;
- }
- @Override
- public IScannerData scan(InputStream arg0, Map<String, String> arg1) throws Exception {
- // TODO Auto-generated method stub
- return null;
- }
- }
- package phpscanner;
- import java.util.Map;
- import com.ibm.team.enterprise.metadata.scanner.common.IPropertyProvider;
- import com.ibm.team.enterprise.metadata.scanner.common.ScanFileDesc;
- public class PHPPropertyProvider implements IPropertyProvider {
- public PHPPropertyProvider() {
- // TODO Auto-generated constructor stub
- }
- @Override
- public Map<String, String> getProperties(ScanFileDesc arg0) throws Exception {
- // TODO Auto-generated method stub
- return null;
- }
- }
- package phpscanner;
- import java.util.Map;
- import com.ibm.team.enterprise.metadata.scanner.common.IPropertyProvider;
- import com.ibm.team.enterprise.metadata.scanner.common.ScanFileDesc;
- public class PHPPropertyProvider implements IPropertyProvider {
- public PHPPropertyProvider() {
- // TODO Auto-generated constructor stub
- }
- @Override
- public Map<String, String> getProperties(ScanFileDesc arg0) throws Exception {
- // TODO Auto-generated method stub
- return null;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement