Interface IV8FileFactory
-
- All Known Implementing Classes:
DcsFileFactory
public interface IV8FileFactory
The factory forIV8File
handles.This interface is intended to be implemented by clients. Implementations must be thread-safe.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IV8File
getV8File(V8ProjectHandle parent, org.eclipse.core.resources.IFile file)
Returns a handle for a V8 file with the given parent element and the given underlying workspace file.
-
-
-
Method Detail
-
getV8File
IV8File getV8File(V8ProjectHandle parent, org.eclipse.core.resources.IFile file)
Returns a handle for a V8 file with the given parent element and the given underlying workspace file.- Parameters:
parent
- the parent of the element (notnull
)file
- the workspace file underlying the element (notnull
)- Returns:
- the V8 file handle, or
null
if the arguments are valid, but the factory cannot create a handle due to its internal state - Throws:
IllegalArgumentException
- if the factory cannot create a handle for the given arguments
-
-