- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 20 for readonly (0.16 sec)
-
src/main/java/jcifs/smb1/smb1/SmbShareInfo.java
case 3: return SmbFile.TYPE_NAMED_PIPE; } return SmbFile.TYPE_SHARE; } public int getAttributes() { return SmbFile.ATTR_READONLY | SmbFile.ATTR_DIRECTORY; } public long createTime() { return 0L; } public long lastModified() { return 0L; } public long length() { return 0L; }
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
} @Override public void setReadOnly () throws SmbException { setAttributes(getAttributes() | ATTR_READONLY); } @Override public void setReadWrite () throws SmbException { setAttributes(getAttributes() & ~ATTR_READONLY); } /** * Returns a {@link java.net.URL} for this <code>SmbFile</code>. The
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Mon Mar 13 12:00:57 GMT 2023 - 81.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
setAttributes( getAttributes() | ATTR_READONLY ); } /** * Turn off the read-only attribute of this file. This is shorthand for * <tt>setAttributes( getAttributes() & ~ATTR_READONLY )</tt>. * * @throws SmbException */ public void setReadWrite() throws SmbException { setAttributes( getAttributes() & ~ATTR_READONLY ); } /**
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Mon Mar 13 12:00:57 GMT 2023 - 107.9K bytes - Viewed (2) -
src/main/java/jcifs/smb/ShareEnumIterator.java
} return null; } private SmbResource adapt ( FileEntry e ) throws MalformedURLException { return new SmbFile(this.parent, e.getName(), false, e.getType(), SmbConstants.ATTR_READONLY | SmbConstants.ATTR_DIRECTORY, 0L, 0L, 0L, 0L); } /** * {@inheritDoc} * * @see java.util.Iterator#hasNext() */ @Override public boolean hasNext () {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/SmbPipeResource.java
* * @author mbechler * */ public interface SmbPipeResource extends SmbResource { /** * The pipe should be opened read-only. */ public static final int PIPE_TYPE_RDONLY = SmbConstants.O_RDONLY; /** * The pipe should be opened only for writing. */ public static final int PIPE_TYPE_WRONLY = SmbConstants.O_WRONLY; /**
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 2.1K bytes - Viewed (0) -
src/main/java/jcifs/SmbResource.java
*/ boolean canRead () throws CIFSException; /** * Turn off the read-only attribute of this file. This is shorthand for * <tt>setAttributes( getAttributes() & ~ATTR_READONLY )</tt>. * * @throws CIFSException */ void setReadWrite () throws CIFSException; /** * Make this file read-only. This is shorthand for <tt>setAttributes(
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Dec 20 14:09:34 GMT 2020 - 26K bytes - Viewed (0) -
src/test/java/jcifs/tests/ReadWriteTest.java
try ( SmbNamedPipe s = new SmbNamedPipe(getFifoPipeUrl(), SmbPipeResource.PIPE_TYPE_WRONLY, withTestNTLMCredentials(getContext())); SmbNamedPipe t = new SmbNamedPipe(getFifoPipeUrl(), SmbPipeResource.PIPE_TYPE_RDONLY, withTestNTLMCredentials(getContext())) ) { try ( SmbPipeHandle sp = s.openPipe(); SmbPipeHandle tp = t.openPipe() ) { try ( OutputStream os = sp.getOutput() ) {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 13.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
try ( SmbTreeHandleInternal th = this.file.ensureTreeConnected() ) { if ( mode.equals("r") ) { this.openFlags = SmbConstants.O_CREAT | SmbConstants.O_RDONLY; this.access = SmbConstants.FILE_READ_DATA; } else if ( mode.equals("rw") ) { this.openFlags = SmbConstants.O_CREAT | SmbConstants.O_RDWR | SmbConstants.O_APPEND;
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Wed Jan 08 12:01:33 GMT 2020 - 18.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java
* Win32 Named Pipe server processes. * */ public class SmbNamedPipe extends SmbFile { /** * The pipe should be opened read-only. */ public static final int PIPE_TYPE_RDONLY = O_RDONLY; /** * The pipe should be opened only for writing. */ public static final int PIPE_TYPE_WRONLY = O_WRONLY; /** * The pipe should be opened for both reading and writing.
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 7.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
throws SmbException, MalformedURLException, UnknownHostException { this.file = file; if( mode.equals( "r" )) { this.openFlags = SmbFile.O_CREAT | SmbFile.O_RDONLY; } else if( mode.equals( "rw" )) { this.openFlags = SmbFile.O_CREAT | SmbFile.O_RDWR | SmbFile.O_APPEND; write_andx_resp = new SmbComWriteAndXResponse(); options = WRITE_OPTIONS;
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 10.9K bytes - Viewed (0)