Package org.jitterbit.integration.data.location.file

Examples of org.jitterbit.integration.data.location.file.TargetFileName


    }
   
    @Test
    public void ensureGetAndSetTargetFileNameWorks() {
        TestDataUtils.testGetterAndSetter(loc, FileLocation.TARGET_FILE_NAME, "getTargetFileName", "setTargetFileName",
                        new TargetFileName(""), new TargetFileName("[file].[ext]"));
    }
View Full Code Here


    /**
     * For target file locations, returns the name of the target file to create.
     */
    public final TargetFileName getTargetFileName() {
        return new TargetFileName(getProperty(PROPERTY_FILE_FILTER, ""));
    }
View Full Code Here

    /**
     * For target file locations, sets the name of the target file to create
     */
    public final void setTargetFileName(TargetFileName name) {
        TargetFileName old;
        synchronized (getDataLock()) {
            old = getTargetFileName();
            setProperty(PROPERTY_FILE_FILTER, name.getFileName());
        }
        if (!old.equals(name)) {
            firePropertyChange(TARGET_FILE_NAME, old, name);
        }
    }
View Full Code Here

            super(name, label, length);
        }

        @Override
        protected Set<ValidationIssue> getValidationIssues(String value) {
            return new TargetFileName(value).validate();
        }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.data.location.file.TargetFileName

Copyright © 2018 www.massapicom. 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.