code: private List<String> parse( URL url )
      {
          InputStream is = null;
          BufferedReader reader = null;
          List<String> names = new ArrayList<String>();
          try
          {
              is = url.openStream();
              reader = new BufferedReader( new InputStreamReader( is, "UTF-8" ) );
              String line = null;
              while( ( line = reader.readLine() ) != null )
              {
                  parseLine( names, line );
              }
          }
          catch ( IOException exc )
          {
              throw new NoServiceProviderException( exc );
          }
          finally
          {
              closeSilently( reader );
          }
          return names;
      }
docs: Parses a META-INF/services resource and returns the list of service provider class names
  defined in that resource.
  
  @param url a URL of a META-INF/services resource
  @return list of service class names (not null, but possibly empty)