content: /******************************************************************************
   *                        Shapeways, Inc Copyright (c) 2012-2019
   *                               Java Source
   *
   * This source is licensed under the GNU LGPL v2.1
   * Please read http://www.gnu.org/copyleft/lgpl.html for more information
   *
   * This software comes with the standard NO WARRANTY disclaimer for any
   * purpose. Use it at your own risk. If there's a problem you get to fix it.
   *
   ****************************************************************************/
  
  package shapejs.viewer;
  // External imports
  import java.io.IOException;
  
  // Local imports
  // None
  
  /**
   * Interface representing code that can open a file or URL in the browser.
   * <p>
   *
   * @author Alan Hudson
   * @version $Revision: 1.2 $
   */
  public interface FileHandler {
  
      /**
       * Go to the named URL location. No checking is done other than to make
       * sure it is a valid URL.
       *
       * @param url The URL to open
       */
      void loadFile(String url, boolean resetView) throws IOException;
  }
  