Example usage for java.lang Integer toString

List of usage examples for java.lang Integer toString

Introduction

In this page you can find the example usage for java.lang Integer toString.

Prototype

@HotSpotIntrinsicCandidate
public static String toString(int i) 

Source Link

Document

Returns a String object representing the specified integer.

Usage

From source file:Artemis_Expanded_Skyboxes.System05.java

public static void system05() {

    // Path copyfrom = FileSystems.getDefault().getPath(dirRoot + systemNo + "/" + dirName + "/");
    //Path target = FileSystems.getDefault().getPath("D:/Artemis/art/sb12/");
    //Path target_dir = FileSystems.getDefault().getPath("D:/Artemis/art/sb12");
    for (int x = 12; x <= 29; x++) {
        dirNo = Integer.toString(x);

        File source = new File(sourceDir + dirName + dirNo + "/");
        File dest = new File(targetDir + dirName + dirNo + "/");
        try {//from  w w  w .  j av  a  2s . c  o m
            FileUtils.copyDirectory(source, dest);
        } catch (IOException e) {
            e.printStackTrace();
        }

    }

}

From source file:Artemis_Expanded_Skyboxes.System06.java

public static void system06() {

    // Path copyfrom = FileSystems.getDefault().getPath(dirRoot + systemNo + "/" + dirName + "/");
    //Path target = FileSystems.getDefault().getPath("D:/Artemis/art/sb12/");
    //Path target_dir = FileSystems.getDefault().getPath("D:/Artemis/art/sb12");
    for (int x = 12; x <= 29; x++) {
        dirNo = Integer.toString(x);

        File source = new File(sourceDir + dirName + dirNo + "/");
        File dest = new File(targetDir + dirName + dirNo + "/");
        try {/*w  w w  .  j ava  2 s.  c o  m*/
            FileUtils.copyDirectory(source, dest);
        } catch (IOException e) {
            e.printStackTrace();
        }

    }

}

From source file:Artemis_Expanded_Skyboxes.System07.java

public static void system07() {

    // Path copyfrom = FileSystems.getDefault().getPath(dirRoot + systemNo + "/" + dirName + "/");
    //Path target = FileSystems.getDefault().getPath("D:/Artemis/art/sb12/");
    //Path target_dir = FileSystems.getDefault().getPath("D:/Artemis/art/sb12");
    for (int x = 12; x <= 29; x++) {
        dirNo = Integer.toString(x);

        File source = new File(sourceDir + dirName + dirNo + "/");
        File dest = new File(targetDir + dirName + dirNo + "/");
        try {//from  w  w w. j av  a 2s. c  om
            FileUtils.copyDirectory(source, dest);
        } catch (IOException e) {
            e.printStackTrace();
        }

    }

}

From source file:Artemis_Expanded_Skyboxes.System08.java

public static void system08() {

    // Path copyfrom = FileSystems.getDefault().getPath(dirRoot + systemNo + "/" + dirName + "/");
    //Path target = FileSystems.getDefault().getPath("D:/Artemis/art/sb12/");
    //Path target_dir = FileSystems.getDefault().getPath("D:/Artemis/art/sb12");
    for (int x = 12; x <= 29; x++) {
        dirNo = Integer.toString(x);

        File source = new File(sourceDir + dirName + dirNo + "/");
        File dest = new File(targetDir + dirName + dirNo + "/");
        try {/*from w ww  . j av  a2s.c  o m*/
            FileUtils.copyDirectory(source, dest);
        } catch (IOException e) {
            e.printStackTrace();
        }

    }

}

From source file:Artemis_Expanded_Skyboxes.System09.java

public static void system09() {

    // Path copyfrom = FileSystems.getDefault().getPath(dirRoot + systemNo + "/" + dirName + "/");
    //Path target = FileSystems.getDefault().getPath("D:/Artemis/art/sb12/");
    //Path target_dir = FileSystems.getDefault().getPath("D:/Artemis/art/sb12");
    for (int x = 12; x <= 29; x++) {
        dirNo = Integer.toString(x);

        File source = new File(sourceDir + dirName + dirNo + "/");
        File dest = new File(targetDir + dirName + dirNo + "/");
        try {// w ww. j  a  v  a 2s.  c o m
            FileUtils.copyDirectory(source, dest);
        } catch (IOException e) {
            e.printStackTrace();
        }

    }

}

From source file:Artemis_Expanded_Skyboxes.System10.java

public static void system10() {

    // Path copyfrom = FileSystems.getDefault().getPath(dirRoot + systemNo + "/" + dirName + "/");
    //Path target = FileSystems.getDefault().getPath("D:/Artemis/art/sb12/");
    //Path target_dir = FileSystems.getDefault().getPath("D:/Artemis/art/sb12");
    for (int x = 12; x <= 29; x++) {
        dirNo = Integer.toString(x);

        File source = new File(sourceDir + dirName + dirNo + "/");
        File dest = new File(targetDir + dirName + dirNo + "/");
        try {//from  w  ww .ja  va  2s.  c  o  m
            FileUtils.copyDirectory(source, dest);
        } catch (IOException e) {
            e.printStackTrace();
        }

    }

}

From source file:Artemis_Expanded_Skyboxes.System11.java

public static void system11() {

    // Path copyfrom = FileSystems.getDefault().getPath(dirRoot + systemNo + "/" + dirName + "/");
    //Path target = FileSystems.getDefault().getPath("D:/Artemis/art/sb12/");
    //Path target_dir = FileSystems.getDefault().getPath("D:/Artemis/art/sb12");
    for (int x = 12; x <= 29; x++) {
        dirNo = Integer.toString(x);

        File source = new File(sourceDir + dirName + dirNo + "/");
        File dest = new File(targetDir + dirName + dirNo + "/");
        try {/*from www.  j av a2  s  .  c o m*/
            FileUtils.copyDirectory(source, dest);
        } catch (IOException e) {
            e.printStackTrace();
        }

    }

}

From source file:Artemis_Expanded_Skyboxes.System12.java

public static void system12() {

    // Path copyfrom = FileSystems.getDefault().getPath(dirRoot + systemNo + "/" + dirName + "/");
    //Path target = FileSystems.getDefault().getPath("D:/Artemis/art/sb12/");
    //Path target_dir = FileSystems.getDefault().getPath("D:/Artemis/art/sb12");
    for (int x = 12; x <= 29; x++) {
        dirNo = Integer.toString(x);

        File source = new File(sourceDir + dirName + dirNo + "/");
        File dest = new File(targetDir + dirName + dirNo + "/");
        try {/*from   w ww  . j  a  v  a2 s .co  m*/
            FileUtils.copyDirectory(source, dest);
        } catch (IOException e) {
            e.printStackTrace();
        }

    }

}

From source file:Artemis_Expanded_Skyboxes.System13.java

public static void system13() {

    // Path copyfrom = FileSystems.getDefault().getPath(dirRoot + systemNo + "/" + dirName + "/");
    //Path target = FileSystems.getDefault().getPath("D:/Artemis/art/sb12/");
    //Path target_dir = FileSystems.getDefault().getPath("D:/Artemis/art/sb12");
    for (int x = 12; x <= 29; x++) {
        dirNo = Integer.toString(x);

        File source = new File(sourceDir + dirName + dirNo + "/");
        File dest = new File(targetDir + dirName + dirNo + "/");
        try {//from  w  w w . j  a  v a 2s .co  m
            FileUtils.copyDirectory(source, dest);
        } catch (IOException e) {
            e.printStackTrace();
        }

    }

}

From source file:Artemis_Expanded_Skyboxes.System14.java

public static void system14() {

    // Path copyfrom = FileSystems.getDefault().getPath(dirRoot + systemNo + "/" + dirName + "/");
    //Path target = FileSystems.getDefault().getPath("D:/Artemis/art/sb12/");
    //Path target_dir = FileSystems.getDefault().getPath("D:/Artemis/art/sb12");
    for (int x = 12; x <= 29; x++) {
        dirNo = Integer.toString(x);

        File source = new File(sourceDir + dirName + dirNo + "/");
        File dest = new File(targetDir + dirName + dirNo + "/");
        try {/*  w w  w . jav a  2 s. com*/
            FileUtils.copyDirectory(source, dest);
        } catch (IOException e) {
            e.printStackTrace();
        }

    }

}