Java Path Create makePathFromStrings(List files)

Here you can find the source of makePathFromStrings(List files)

Description

make Path From Strings

License

Apache License

Declaration

public static String makePathFromStrings(List<String> files) 

Method Source Code

//package com.java2s;
// Licensed under the Apache License, Version 2.0 (the "License");

import java.io.File;

import java.util.List;

public class Main {
    public static String makePathFromStrings(List<String> files) {
        StringBuilder result = new StringBuilder();

        for (String file : files) {
            if (result.length() != 0) {
                result.append(File.pathSeparator);
            }//from   ww w .j  a va  2s .c o  m

            result.append(file);
        }

        return result.toString();
    }
}

Related

  1. makePath(String[] strings)
  2. makePathAbsolute(String path)
  3. makePathASafeFileName(String filePath)
  4. makePathFile(String javaConnectorSourcePath, String packageName, String className)
  5. makePathFromDate()
  6. makePathName(String directoryName, String fileName)
  7. makePathRelativeTo(String path, final File basedir)
  8. makePaths(File path)
  9. toPath(Class klazz)