javauis/eswt_qt/org.eclipse.swt/Eclipse SWT/common_j2me/org/eclipse/swt/internal/CompatibilityDelegate.java
changeset 21 2a9601315dfc
child 78 71ad690e91f5
equal deleted inserted replaced
18:e8e63152f320 21:2a9601315dfc
       
     1 /*******************************************************************************
       
     2  * Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3  * All rights reserved. This program and the accompanying materials 
       
     4  * are made available under the terms of the Eclipse Public License v1.0
       
     5  * which accompanies this distribution, and is available at
       
     6  * http://www.eclipse.org/legal/epl-v10.html
       
     7  * 
       
     8  * Contributors:
       
     9  *     Nokia Corporation - S60 implementation
       
    10  *******************************************************************************/
       
    11 package org.eclipse.swt.internal;
       
    12 
       
    13 import java.io.IOException;
       
    14 import java.io.InputStream;
       
    15 import java.io.OutputStream;
       
    16 
       
    17 public interface CompatibilityDelegate {
       
    18     public boolean canOpenFile(String path) throws SecurityException;
       
    19     public InputStream getInputStreamFromFile(String path) throws IOException;
       
    20     public String convertPathToSpecific(String path);
       
    21     public String convertPathFromSpecific(String path);
       
    22     public OutputStream getOutStreamFromFile(String path) throws IOException;
       
    23 }