Advertisement
Guest User

Untitled

a guest
Dec 5th, 2013
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.79 KB | None | 0 0
  1. package phpscanner;
  2.  
  3. import java.io.InputStream;
  4. import java.util.HashMap;
  5. import java.util.Map;
  6.  
  7. import com.ibm.team.enterprise.metadata.scanner.IMetadataValueType;
  8. import com.ibm.team.enterprise.metadata.scanner.IScannerData;
  9. import com.ibm.team.enterprise.metadata.scanner.common.AbstractFileMetadataScanner;
  10.  
  11. public class PHPScanner extends AbstractFileMetadataScanner {
  12.  
  13.     @Override
  14.     public Map<String, IMetadataValueType> getGeneralMetadataTypes() {
  15.         Map<String, IMetadataValueType> metadataTypes = new HashMap<String, IMetadataValueType>();
  16.         metadataTypes.put("Bla", IMetadataValueType.STRING);
  17.         return metadataTypes;
  18.     }
  19.  
  20.     @Override
  21.     public IScannerData scan(InputStream arg0, Map<String, String> arg1) throws Exception {
  22.         // TODO Auto-generated method stub
  23.         return null;
  24.     }
  25.  
  26. }
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33. package phpscanner;
  34. import java.util.Map;
  35.  
  36. import com.ibm.team.enterprise.metadata.scanner.common.IPropertyProvider;
  37. import com.ibm.team.enterprise.metadata.scanner.common.ScanFileDesc;
  38.  
  39.  
  40. public class PHPPropertyProvider implements IPropertyProvider {
  41.  
  42.     public PHPPropertyProvider() {
  43.         // TODO Auto-generated constructor stub
  44.     }
  45.  
  46.     @Override
  47.     public Map<String, String> getProperties(ScanFileDesc arg0) throws Exception {
  48.         // TODO Auto-generated method stub
  49.         return null;
  50.     }
  51.  
  52. }
  53.  
  54.  
  55.  
  56.  
  57.  
  58. package phpscanner;
  59. import java.util.Map;
  60.  
  61. import com.ibm.team.enterprise.metadata.scanner.common.IPropertyProvider;
  62. import com.ibm.team.enterprise.metadata.scanner.common.ScanFileDesc;
  63.  
  64.  
  65. public class PHPPropertyProvider implements IPropertyProvider {
  66.  
  67.     public PHPPropertyProvider() {
  68.         // TODO Auto-generated constructor stub
  69.     }
  70.  
  71.     @Override
  72.     public Map<String, String> getProperties(ScanFileDesc arg0) throws Exception {
  73.         // TODO Auto-generated method stub
  74.         return null;
  75.     }
  76.  
  77. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement