org.robokind.api.common.config
Interface FileSystemAdapter

All Known Implementing Classes:
FileSystemAdapterImpl

public interface FileSystemAdapter

Defines a class which can open Files from a file system.

Author:
Matthew Stevenson

Method Summary
 File openFile(String path)
          Opens the file at the given path.
 ImageIcon openImageIcon(String path)
          Opens the icon at the given path.
 

Method Detail

openFile

File openFile(String path)
Opens the file at the given path.

Parameters:
path - location of the file to open
Returns:
File at the given path. null if the file cannot be opened

openImageIcon

ImageIcon openImageIcon(String path)
Opens the icon at the given path.

Parameters:
path - location of the icon to open
Returns:
ImageIcon at the given path. null if the icon cannot be opened


Copyright © 2011. All Rights Reserved.