Examples of fileName()


Examples of ariba.ui.aribaweb.util.AWFileData.filename()

        if (fileData == null && inPlaybackMode()) {
            fileData = fileDataFromInputUrl();
        }

        if (fileData != null && (fileData.bytesRead() > 0 || booleanValueForBinding("newMode"))) {
            String filename = fileData.filename();
            setValueForBinding(filename, BindingNames.filename);
            setValueForBinding(fileData.mimeType(), BindingNames.mimeType);
            setValueForBinding(fileData.fileIncomplete(), BindingNames.fileSizeExceeded);

            // Only one binding for file data is honored. Precedence order: file, input stream, byte array.
View Full Code Here

Examples of com.baidu.disconf.client.common.annotations.DisconfFile.filename()

        DisconfFile disconfFileAnnotation = disconfFileClass
                .getAnnotation(DisconfFile.class);

        //
        // file name
        disconfCenterFile.setFileName(disconfFileAnnotation.filename());

        //
        // disConfCommonModel
        DisConfCommonModel disConfCommonModel = makeDisConfCommonModel(
                disconfFileAnnotation.env(), disconfFileAnnotation.version());
View Full Code Here

Examples of com.baidu.disconf.client.common.annotations.DisconfFile.filename()

                            curClass.toString());
                    continue;
                }

                DisconfKey disconfKey = new DisconfKey(DisConfigTypeEnum.FILE,
                        disconfFile.filename());
                addOne2InverseMap(disconfKey, inverseMap, iDisconfUpdate);
            }
        }

        // set data
View Full Code Here

Examples of com.baidu.disconf.client.common.annotations.DisconfFile.filename()

            // 请求仓库配置数据
            //
            DisconfStoreProcessor disconfStoreProcessor = DisconfStoreProcessorFactory
                    .getDisconfStoreFileProcessor();
            Object ret = disconfStoreProcessor.getConfig(
                    disconfFile.filename(), disconfFileItem.name());
            if (ret != null) {
                LOGGER.info("using disconf store value: "
                        + disconfFile.filename() + " ("
                        + disconfFileItem.name() + " , " + ret + ")");
                return ret;
View Full Code Here

Examples of com.baidu.disconf.client.common.annotations.DisconfFile.filename()

                    .getDisconfStoreFileProcessor();
            Object ret = disconfStoreProcessor.getConfig(
                    disconfFile.filename(), disconfFileItem.name());
            if (ret != null) {
                LOGGER.info("using disconf store value: "
                        + disconfFile.filename() + " ("
                        + disconfFileItem.name() + " , " + ret + ")");
                return ret;
            }
        }
View Full Code Here

Examples of com.citytechinc.cq.component.annotations.Component.fileName()

      height = componentAnnotation.dialogHeight();
    }
    DialogParameters dialogParams = new DialogParameters();
    dialogParams.setContainedElements(Dialog.buildTabPanel(tabList));
    dialogParams.setTitle(dialogTitle);
    dialogParams.setFileName(componentAnnotation.fileName());
    dialogParams.setWidth(width);
    dialogParams.setHeight(height);
    return new Dialog(dialogParams);
  }
View Full Code Here

Examples of com.google.gwt.i18n.client.LocalizableResource.Generate.fileName()

      context.commit(logger, pw);
    }
    // Generate a translatable output file if requested.
    Generate generate = getClassAnnotation(targetClass, Generate.class);
    if (generate != null) {
      String path = generate.fileName();
      if (Generate.DEFAULT.equals(path)) {
        path = targetClass.getPackage().getName() + "."
            + targetClass.getName().replace('.', '_');
      } else if (path.endsWith(File.pathSeparator)) {
        path = path + targetClass.getName().replace('.', '_');
View Full Code Here

Examples of com.google.gwt.i18n.client.LocalizableResource.Generate.fileName()

      context.commit(logger, pw);
    }
    // Generate a translatable output file if requested.
    Generate generate = getClassAnnotation(targetClass, Generate.class);
    if (generate != null) {
      String path = generate.fileName();
      if (Generate.DEFAULT.equals(path)) {
        path = targetClass.getPackage().getName() + "."
            + targetClass.getName().replace('.', '_');
      } else if (path.endsWith(File.pathSeparator)) {
        path = path + targetClass.getName().replace('.', '_');
View Full Code Here

Examples of com.sun.jersey.core.header.FormDataContentDisposition.FormDataContentDispositionBuilder.fileName()

  protected FormDataContentDisposition buildContentDisposition() {
    FormDataContentDispositionBuilder builder = FormDataContentDisposition
        .name(getName());

    if (filename != null) {
      builder.fileName(filename);
    } else {
      // Default is to set the name of the file as a form-field name.
      builder.fileName(getName());
    }
View Full Code Here

Examples of com.sun.jersey.core.header.FormDataContentDisposition.FormDataContentDispositionBuilder.fileName()

    if (filename != null) {
      builder.fileName(filename);
    } else {
      // Default is to set the name of the file as a form-field name.
      builder.fileName(getName());
    }

    return builder.build();
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.