Moved package from fr.devinsy.util to fr.devinsy.

This commit is contained in:
Christian P. MOMON 2018-05-31 09:11:25 +02:00
parent 561964cfbe
commit ced40908a3
8 changed files with 24 additions and 21 deletions

View file

@ -16,14 +16,14 @@
* You should have received a copy of the GNU Lesser General Public License * You should have received a copy of the GNU Lesser General Public License
* along with Devinsy-cmdexec. If not, see <http://www.gnu.org/licenses/> * along with Devinsy-cmdexec. If not, see <http://www.gnu.org/licenses/>
*/ */
package fr.devinsy.util.cmdexec; package fr.devinsy.cmdexec;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import fr.devinsy.cmdexec.StreamGobbler.StreamWay;
import fr.devinsy.cmdexec.util.CommandSplitter;
import fr.devinsy.strings.StringsUtils; import fr.devinsy.strings.StringsUtils;
import fr.devinsy.util.cmdexec.StreamGobbler.StreamWay;
import fr.devinsy.util.cmdexec.util.CommandSplitter;
/** /**
* The Class CmdExec. * The Class CmdExec.

View file

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2016-2017 Christian Pierre MOMON * Copyright (C) 2016-2018 Christian Pierre MOMON
* *
* This file is part of Devinsy-cmdexec. * This file is part of Devinsy-cmdexec.
* *
@ -16,7 +16,7 @@
* You should have received a copy of the GNU Lesser General Public License * You should have received a copy of the GNU Lesser General Public License
* along with Devinsy-cmdexec. If not, see <http://www.gnu.org/licenses/> * along with Devinsy-cmdexec. If not, see <http://www.gnu.org/licenses/>
*/ */
package fr.devinsy.util.cmdexec; package fr.devinsy.cmdexec;
/** /**
* The Class CmdExecException. * The Class CmdExecException.

View file

@ -16,7 +16,7 @@
* You should have received a copy of the GNU Lesser General Public License * You should have received a copy of the GNU Lesser General Public License
* along with Devinsy-cmdexec. If not, see <http://www.gnu.org/licenses/> * along with Devinsy-cmdexec. If not, see <http://www.gnu.org/licenses/>
*/ */
package fr.devinsy.util.cmdexec; package fr.devinsy.cmdexec;
import java.util.ArrayList; import java.util.ArrayList;
@ -24,8 +24,8 @@ import org.apache.commons.lang3.ArrayUtils;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import fr.devinsy.cmdexec.util.CommandSplitter;
import fr.devinsy.strings.StringsUtils; import fr.devinsy.strings.StringsUtils;
import fr.devinsy.util.cmdexec.util.CommandSplitter;
/** /**
* The Class CmdExecUtils * The Class CmdExecUtils

View file

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2005-2008,2010,2013,2016-2017 Christian Pierre MOMON * Copyright (C) 2005-2008,2010,2013,2016-2018 Christian Pierre MOMON
* *
* This file is part of Devinsy-cmdexec. * This file is part of Devinsy-cmdexec.
* *
@ -16,7 +16,7 @@
* You should have received a copy of the GNU Lesser General Public License * You should have received a copy of the GNU Lesser General Public License
* along with Devinsy-cmdexec. If not, see <http://www.gnu.org/licenses/> * along with Devinsy-cmdexec. If not, see <http://www.gnu.org/licenses/>
*/ */
package fr.devinsy.util.cmdexec; package fr.devinsy.cmdexec;
import java.io.BufferedReader; import java.io.BufferedReader;
import java.io.IOException; import java.io.IOException;
@ -152,7 +152,9 @@ public class StreamGobbler extends Thread
return result; return result;
} }
/* (non-Javadoc) /*
* (non-Javadoc)
*
* @see java.lang.Thread#run() * @see java.lang.Thread#run()
*/ */
@Override @Override

View file

@ -16,7 +16,7 @@
* You should have received a copy of the GNU Lesser General Public License * You should have received a copy of the GNU Lesser General Public License
* along with Devinsy-cmdexec. If not, see <http://www.gnu.org/licenses/> * along with Devinsy-cmdexec. If not, see <http://www.gnu.org/licenses/>
*/ */
package fr.devinsy.util.cmdexec.demo; package fr.devinsy.cmdexec.demo;
import java.io.File; import java.io.File;
import java.io.IOException; import java.io.IOException;
@ -26,10 +26,10 @@ import org.apache.log4j.Level;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import fr.devinsy.util.cmdexec.CmdExec; import fr.devinsy.cmdexec.CmdExec;
import fr.devinsy.util.cmdexec.CmdExecException; import fr.devinsy.cmdexec.CmdExecException;
import fr.devinsy.util.cmdexec.CmdExecUtils; import fr.devinsy.cmdexec.CmdExecUtils;
import fr.devinsy.util.cmdexec.StreamGobbler; import fr.devinsy.cmdexec.StreamGobbler;
/** /**
* The Class Demo. * The Class Demo.

View file

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2005-2010,2013,2015-2017 Christian Pierre MOMON * Copyright (C) 2005-2010,2013,2015-2018 Christian Pierre MOMON
* *
* This file is part of Devinsy-cmdexec. * This file is part of Devinsy-cmdexec.
* *
@ -16,7 +16,7 @@
* You should have received a copy of the GNU Lesser General Public License * You should have received a copy of the GNU Lesser General Public License
* along with Devinsy-cmdexec. If not, see <http://www.gnu.org/licenses/> * along with Devinsy-cmdexec. If not, see <http://www.gnu.org/licenses/>
*/ */
package fr.devinsy.util.cmdexec.util; package fr.devinsy.cmdexec.util;
import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger; import org.slf4j.Logger;

View file

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2013,2017 Christian Pierre MOMON * Copyright (C) 2013,2018 Christian Pierre MOMON
* *
* This file is part of Devinsy-cmdexec. * This file is part of Devinsy-cmdexec.
* *
@ -16,7 +16,7 @@
* You should have received a copy of the GNU Lesser General Public License * You should have received a copy of the GNU Lesser General Public License
* along with Devinsy-cmdexec. If not, see <http://www.gnu.org/licenses/> * along with Devinsy-cmdexec. If not, see <http://www.gnu.org/licenses/>
*/ */
package fr.devinsy.util.cmdexec; package fr.devinsy.cmdexec;
import org.apache.log4j.ConsoleAppender; import org.apache.log4j.ConsoleAppender;
import org.apache.log4j.PatternLayout; import org.apache.log4j.PatternLayout;

View file

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2017 Christian Pierre MOMON * Copyright (C) 2018 Christian Pierre MOMON
* *
* This file is part of Devinsy-cmdexec. * This file is part of Devinsy-cmdexec.
* *
@ -16,7 +16,7 @@
* You should have received a copy of the GNU Lesser General Public License * You should have received a copy of the GNU Lesser General Public License
* along with Devinsy-cmdexec. If not, see <http://www.gnu.org/licenses/> * along with Devinsy-cmdexec. If not, see <http://www.gnu.org/licenses/>
*/ */
package fr.devinsy.util.cmdexec.util; package fr.devinsy.cmdexec.util;
import org.apache.log4j.BasicConfigurator; import org.apache.log4j.BasicConfigurator;
import org.apache.log4j.Level; import org.apache.log4j.Level;
@ -26,6 +26,7 @@ import org.junit.Test;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import fr.devinsy.cmdexec.util.CommandSplitter;
import fr.devinsy.strings.StringList; import fr.devinsy.strings.StringList;
/** /**