getImportedPath function

String getImportedPath(
  1. String trimmedLine
)

Implementation

String getImportedPath(
    String trimmedLine
    )
{
    if ( trimmedLine.startsWith( '\'@' )
         && trimmedLine.endsWith( '.def\'' ) )
    {
        return trimmedLine.substring( 2, trimmedLine.length - 1 );
    }
    else
    {
        return '';
    }
}