congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
WscompileMessages.WSIMPORT_NOT_A_FILE_NOR_URL
Code IndexAdd Tabnine to your IDE (free)

How to use
WSIMPORT_NOT_A_FILE_NOR_URL
method
in
com.sun.tools.ws.resources.WscompileMessages

Best Java code snippets using com.sun.tools.ws.resources.WscompileMessages.WSIMPORT_NOT_A_FILE_NOR_URL (Showing top 4 results out of 315)

origin: org.glassfish.metro/webservices-tools

/**
 * Parses a token to a file (or a set of files)
 * and add them as {@link InputSource} to the specified list.
 *
 * @param suffix If the given token is a directory name, we do a recusive search
 *               and find all files that have the given suffix.
 */
private void addFile(String name, List<InputSource> target, String suffix) throws BadCommandLineException {
  Object src;
  try {
    src = Util.getFileOrURL(name);
  } catch (IOException e) {
    throw new BadCommandLineException(WscompileMessages.WSIMPORT_NOT_A_FILE_NOR_URL(name));
  }
  if (src instanceof URL) {
    target.add(absolutize(new InputSource(Util.escapeSpace(((URL) src).toExternalForm()))));
  } else {
    File fsrc = (File) src;
    if (fsrc.isDirectory()) {
      addRecursive(fsrc, suffix, target);
    } else {
      target.add(absolutize(fileToInputSource(fsrc)));
    }
  }
}
origin: com.sun.xml.ws/jaxws-tools

/**
 * Parses a token to a file (or a set of files)
 * and add them as {@link InputSource} to the specified list.
 *
 * @param suffix If the given token is a directory name, we do a recusive search
 *               and find all files that have the given suffix.
 */
private void addFile(String name, List<InputSource> target, String suffix) throws BadCommandLineException {
  Object src;
  try {
    src = Util.getFileOrURL(name);
  } catch (IOException e) {
    throw new BadCommandLineException(WscompileMessages.WSIMPORT_NOT_A_FILE_NOR_URL(name));
  }
  if (src instanceof URL) {
    target.add(absolutize(new InputSource(Util.escapeSpace(((URL) src).toExternalForm()))));
  } else {
    File fsrc = (File) src;
    if (fsrc.isDirectory()) {
      addRecursive(fsrc, suffix, target);
    } else {
      target.add(absolutize(fileToInputSource(fsrc)));
    }
  }
}
origin: javaee/metro-jax-ws

/**
 * Parses a token to a file (or a set of files)
 * and add them as {@link InputSource} to the specified list.
 *
 * @param suffix If the given token is a directory name, we do a recusive search
 *               and find all files that have the given suffix.
 */
private void addFile(String name, List<InputSource> target, String suffix) throws BadCommandLineException {
  Object src;
  try {
    src = Util.getFileOrURL(name);
  } catch (IOException e) {
    throw new BadCommandLineException(WscompileMessages.WSIMPORT_NOT_A_FILE_NOR_URL(name));
  }
  if (src instanceof URL) {
    target.add(absolutize(new InputSource(Util.escapeSpace(((URL) src).toExternalForm()))));
  } else {
    File fsrc = (File) src;
    if (fsrc.isDirectory()) {
      addRecursive(fsrc, suffix, target);
    } else {
      target.add(absolutize(fileToInputSource(fsrc)));
    }
  }
}
origin: javaee/metro-jax-ws

/**
 * Parses a token to a file (or a set of files)
 * and add them as {@link InputSource} to the specified list.
 *
 * @param suffix If the given token is a directory name, we do a recusive search
 *               and find all files that have the given suffix.
 */
private void addFile(String name, List<InputSource> target, String suffix) throws BadCommandLineException {
  Object src;
  try {
    src = Util.getFileOrURL(name);
  } catch (IOException e) {
    throw new BadCommandLineException(WscompileMessages.WSIMPORT_NOT_A_FILE_NOR_URL(name));
  }
  if (src instanceof URL) {
    target.add(absolutize(new InputSource(Util.escapeSpace(((URL) src).toExternalForm()))));
  } else {
    File fsrc = (File) src;
    if (fsrc.isDirectory()) {
      addRecursive(fsrc, suffix, target);
    } else {
      target.add(absolutize(fileToInputSource(fsrc)));
    }
  }
}
com.sun.tools.ws.resourcesWscompileMessagesWSIMPORT_NOT_A_FILE_NOR_URL

Javadoc

"{0}" is neither a file name nor an URL

Popular methods of WscompileMessages

  • INVOKER_NEED_ENDORSED
    You are running on JDK6 or newer which comes with JAX-WS {0} API, but this tool requires JAX-WS {1}
  • WRAPPER_TASK_LOADING_INCORRECT_API
    You are loading JAX-WS {0} API from {1} but this tool requires JAX-WS {2} API.
  • WRAPPER_TASK_NEED_ENDORSED
    You are running on JDK6 or newer which comes with JAX-WS {0} API, but this tool requires JAX-WS {1}
  • WSCOMPILE_CANT_GET_COMPILER
    No Java compiler found. Perhaps environment/JDK problem? Used JVM: {0}, {1}/{2}
  • WSCOMPILE_COMPILATION_FAILED
    compilation failed, errors should have been reported
  • WSCOMPILE_ERROR
    error: {0}
  • WSCOMPILE_EXISTING_OPTION
    Ignoring already defined option {0}
  • WSCOMPILE_INVALID_OPTION
    unrecognized parameter {0}
  • WSCOMPILE_MISSING_OPTION_ARGUMENT
    option "{0}" requires an argument
  • WSCOMPILE_NO_SUCH_DIRECTORY
    directory not found: {0}
  • WSCOMPILE_UNSUPPORTED_ENCODING
    unsupported encoding: {0}
  • WSGEN_CANNOT_GEN_WSDL_FOR_NON_SOAP_BINDING
    wsgen can not generate WSDL for non-SOAP binding: {0} on Class {1}
  • WSCOMPILE_UNSUPPORTED_ENCODING,
  • WSGEN_CANNOT_GEN_WSDL_FOR_NON_SOAP_BINDING,
  • WSGEN_CANNOT_GEN_WSDL_FOR_SOAP_12_BINDING,
  • WSGEN_CLASS_MUST_BE_IMPLEMENTATION_CLASS,
  • WSGEN_CLASS_NOT_FOUND,
  • WSGEN_FULLVERSION,
  • WSGEN_HELP,
  • WSGEN_INLINE_SCHEMAS_ONLY_WITH_WSDL,
  • WSGEN_INVALID_PROTOCOL,
  • WSGEN_MISSING_FILE

Popular in Java

  • Making http requests using okhttp
  • onRequestPermissionsResult (Fragment)
  • getContentResolver (Context)
  • getApplicationContext (Context)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • Socket (java.net)
    Provides a client-side TCP socket.
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • 21 Best IntelliJ Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now