All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gov.nasa.worldwind.ogc.collada.ColladaResourceResolver Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (C) 2012 United States Government as represented by the Administrator of the
 * National Aeronautics and Space Administration.
 * All Rights Reserved.
 */

package gov.nasa.worldwind.ogc.collada;

import java.io.IOException;

/**
 * Interface for resolving paths relative to a COLLADA document.
 *
 * @author pabercrombie
 * @version $Id: ColladaResourceResolver.java 654 2012-06-25 04:15:52Z pabercrombie $
 * @see ColladaRoot
 */
public interface ColladaResourceResolver
{
    /**
     * Resolve a file path.
     *
     * @param path A file path relative to a COLLADA document.
     *
     * @return An absolute path to the resource, or null if the path cannot be determined.
     *
     * @throws IOException If an error occurs attempting to locate the resource.
     */
    String resolveFilePath(String path) throws IOException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy