class RawUploadHandlerSupport extends UploadHandlerSupport {

  @Override
  public UploadDefinition getDefinition() {
    if (definition == null) {
      definition = getDefinition(RawFormat.NAME, true,
          singletonList(new UploadFieldDefinition(DIRECTORY, DIRECTORY_HELP_TEXT, false, Type.STRING, FIELD_GROUP_NAME)),
          singletonList(new UploadFieldDefinition(FILENAME, false, Type.STRING)),
          new UploadRegexMap("(.*)", FILENAME));
    }
    return definition;
  }

  public  RawUploadHandlerSupport(
      final ContentPermissionChecker contentPermissionChecker,
      final VariableResolverAdapter variableResolverAdapter,
      final Set<UploadDefinitionExtension> uploadDefinitionExtensions);

}