Servertec guessContentTypeFromStream( )
Content
Introduction
Release Notes
Features
FAQs
Requirements
Installation
Change Log
Future Plans
Knowledge Base
Reference Manual
Conventions
Scriptlets
Data Types
Constants
Variables
Procedures
Operators
Statements
Objects
Array
Config
Context
Cookie
Date
Enumeration
File
FileDescriptor
Hashtable
Internet
accept( )
close( )
connect( )
DatagramPacket( )
DatagramSocket( )
disconnect( )
encode( )
equals( )
getAddress( )
getAllByName( )
getAllow
UserInteraction( )

getByName( )
getContent( )
getContent
Encoding( )

getContentLength( )
getContentType( )
getData( )
getDate( )
getDefault
AllowUser
Interaction( )

getDefault
RequestPropert( )

getDefault
UseCaches( )

getDoInput( )
getDoOutput( )
getExpiration( )
getFile( )
getFollowRedirects( )
getHeaderField( )
getHeaderFieldDate( )
getHeaderFieldInt( )
getHeaderFieldKey( )
getHost( )
getHostAddress( )
getHostName( )
getIfModifiedSince( )
getInetAddress( )
getInputStream( )
getLastModified( )
getLength( )
getLocalAddress( )
getLocalHost( )
getLocalPort( )
getOutputStream( )
getPort( )
getProtocol( )
getRef( )
getRequestMethod( )
getRequestProperty( )
getResponseCode( )
getResponse
Message( )

getSocketTimeout( )
getURL( )
getUseCaches( )
guessContentType
FromStream( )

hashCode( )
isMulticastAddress( )
openConnection( )
openStream( )
receive( )
sameFile( )
send( )
ServerSocket( )
setAddress( )
setAllow
UserInteraction( )

setContentHandler
Factory( )

setData( )
setDefault
AllowUser
Interaction( )

setDefault
RequestProperty( )

setDefault
UseCaches( )

setDoInput( )
setDoOutput( )
setFollowRedirects( )
setIfModifiedSince( )
setLength( )
setPort( )
setRequestMethod( )
setRequestPropery( )
setSocketFactory( )
setSocketImpl
Factory( )

setSocketTimeout( )
setUseCaches( )
Socket( )
toExternalForm( )
toString( )
URL( )
usingProxy( )

IO
JDBC
Number
Object
Properties
Random
Request
RequestDispatcher
Response
Session
SqlTypes
Stack
StreamTokenizer
String
StringBuffer
StringTokenizer
System
Vector

Wrappers
Servlet
Server Pages
Preprocessor
Executable
Samples
Legal
Contact Us

 

Returns a guess of the content type for the specified input stream object.

Syntax

    guessContentTypeFromStream( inputstream )
    inputstream.guessContentTypeFromStream( )

Parameters

    inputstream the input stream object to use.

Returns

    string the content type.

Example

    contentType = istream.guessContentTypeFromStream( )
    
 top of page
Copyright © 1998-2005 Servertec. All rights reserved.
Privacy Statement.
Last Modified: Sun Sep 04 14:56:08 EDT 2005