FileObject fileObject= DragomeJsCompiler.compiler.fileManager.getFileForInput(relativeFilePath);
String content;
if (DragomeJsCompiler.compiler.isCompression())
{
JavaScriptCompressor compressor= new JavaScriptCompressor();
content= compressor.compress(fileObject.openInputStream());
}
else
{
content= IOUtils.toString(fileObject.openInputStream());
}