Package com.sun.faban.harness.webclient

Examples of com.sun.faban.harness.webclient.TagEngine


    }

    private void uploadTags(String runId) throws IOException, ClassNotFoundException {
            File file = new File(Config.OUT_DIR + runId + "/META-INF/tags");
            String tags = FileHelper.readContentFromFile(file);
            TagEngine te = TagEngine.getInstance();
            String[] tagsArray;
            if (tags != null && !"".equals(tags)) {
                StringTokenizer tok = new StringTokenizer(tags," ");
                tagsArray = new String[tok.countTokens()];
                int count = tok.countTokens();
                int i=0;
                while(i < count){
                    String nextT = tok.nextToken().trim();
                    tagsArray[i] = nextT;
                    i++;
                }
                te.add(runId, tagsArray);
            }
            te.save();
        }
View Full Code Here

TOP

Related Classes of com.sun.faban.harness.webclient.TagEngine

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.