title: Overriding method to pass a different set of delimiters to Scanner
body: <p>Few questions on over riding.</p>
  
  <p>I am interiting a method <code>openRead</code> from another class, the method is to be overridden so that the scanner class uses the provided delimiter pattern, which is referenced. I need to make use of the scanner class useDelmiter method</p>
  
  <p>method from another class</p>
  
  <pre><code>public boolean openRead() throws FileNotFoundException
   {
     sc = new Scanner(new File(fileName));
  
      if (fileName != null)
      {
           return true;
      }
      else
      {
          return false;
      }
  
  }
  </code></pre>
  
  <p>delimiter</p>
  
  <pre><code>protected final String DELIMITERS = "[\\s[^'a-zA-Z]]";
  </code></pre>
  
  <p>I'm at a loss to how i over ride this using the constant delimiter.</p>